I'm trying to pull text from a local directory. but why is it giving missing text? And when you say ok, the message box constantly pops up and shows other posts.
int LoadingSystem()
{
std::ifstream myReadFile;
myReadFile.open("resource/licence_english.txt");
char output[10000];
if (myReadFile.is_open())
{
while (!myReadFile.eof())
{
myReadFile >> output;
MessageBox(NULL, output, "Test Message", MB_OK);
}
return 0;
}
}