char* filepath;
cout<<"What is the name of the Move Pak that you want to import?"<<endl<<"\"_DEFAULT.pak\" is the default one."<<endl;
cin>>filepath;
char* final;
char working_directory[_MAX_PATH];
GetCurrentPath(working_directory);
srand((unsigned)time(0));
CIniReader::CIniReader ini;
strcat(final,working_directory);
strcat(final,(constchar*)"\\");
strcat(final,(constchar*) filepath);
ini.CIniInit(final);
Also, this is not a chatroom. People aren't here 24/7 to be on your every beck and call. If you don't get an answer in an hour or 2, people just might not have seen your post yet. Be patient. Posting several times in all caps just irritates people.
char filepath[128];
cout<<"What is the name of the Move Pak that you want to import?"<<endl<<"\"_DEFAULT.pak\" is the default one."<<endl;
cin>>filepath;
char final[256];
char working_directory[_MAX_PATH];
GetCurrentPath(working_directory);
srand((unsigned)time(0));
CIniReader::CIniReader ini;
strcat(final,working_directory);
strcat(final,"\\");
strcat(final,filepath);
ini.CIniInit((char*)final);
cout<<final<<endl;
It is messed up. It has 4 weird characters before the wanted string.