INIFile::SetFileName

Contents

Description

Sets the file name to the given string.

Syntax

void SetFileName( LPCSTR lpcszSection )

Parameters

lpcszSection
[input] new file name

Return

Examples

EX1

void INIFile_SetFileName_ex1()
{
    INIFile ini("filename.ini");
    ini.SetFileName("new filename");
    out_str(ini.GetFileName());
}

Remark

See Also

header to Include

origin.h