Program for file is crashingThanks everyone, it worked. I used char arrays instead of strings.
Program for file is crashingIt ain't required. I was earlier thinking of adding the date.
Program for file is crashingI am using CodeBlocks. But the problems isn't there. A file is created in the same directory as the ...
Program for file is crashingProgram is crashing, if the DAT file exists. Please help! [code] #include<iostream> #include<...
File created but emptyThanks. But now when I restart the program and if the dat file already exists then the program crash...