I am developing a C++ application which has a module to read data from a text file and then write some its data into another text file and then save that.
Everything goes right tilll the last line of the program when I end up writing and try to close the file as follows,
the following error comes out.
General Protection exception
[TEST1]0x24E7:0x54F3 processor Fault
Where test is the name of folder I ahave placed both the files in.
I am using Visual IDE of