Trying to read a string and a int from an input file.
I have this ERROR: Unhandled exception at 0x5885e42e (msvcr100d.dll) in ProyectC.exe: 0xC0000005: Access violation writing location 0x00000000.
It would have worked if he had actually allocated memory for those char* though. But I agree that strings are better in the context (as well as in most other contexts).