Hi All,
The problem is - the program always takes default name.Code:int main(int argc, char *argv[]) { if (argc >1 ) { //if there is an argument - take a name from it. inifile = argv[1]; } else { //default name inifile = "Settings.ini"; } //and so on.....
Even if i type MyProg.exe test.ini - it takes default file - Settings.ini