2.2.5.2.8 INIFile::SetFileName

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