You say an error occurs, but you haven't said what the error was. What is the error?
A Microsoft Visual C++ Debug Library window pops up:
Debug Error!
Program:...
Invalid allocation size: 4294967295 bytes
(Press Retry to debug the application)
I click retry then...
President_Wulff.exe has triggered a breakpoint
I click continue...
Unhandled exception at 0x74c6c42d in President_Wulff.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x003ffbd4..
then the Debug Error! again.
Maybe some kind of run-time error.
I got some help, and found out that somehow I deleted the text file. I added a new text file and now everything is working fine.