INIFile::GetFileName

Description

Gets the name of the INI file.

Syntax

string GetFileName( )

Parameters

Return

the file name of the INI file in the form of a string.

Examples

EX1

void INIFile_GetFileName_ex1()
{
    INIFile ini("Origin.ini");
    int nNumLevels = ini.ReadInt("Config", "NumLevels", 0);
    printf("NumLevels = %d\n", nNumLevels);
    out_str(ini.GetFileName());
}

Remark

See Also

header to Include

origin.h