1.It creates a text file through the program for storing the data taken as input and
the file gets created but the data is not getting stored for him.
Both the files are getting created.The second file(a binary file) is working
separately but not alongwith the first file(a text file,which is used to store
the name in which it has to be saved).So,the problem is with the text file.Certain
changes may be done in order to make it work.Some lines can also be added
Please find the details of the error in his program.
gautiram.cpp contains the program for the entire project. The other
program contains the part which is not working.It deals with saving the
information in a file and when the file is again opened ,the saved
information does not exist.The file can either be a binary file or a
text file.I don't understand whether there is any problem while saving
the information or while opening the file.In the original program
(gautiram.cpp),this part is in the 1027th line in which the first
file(namesave)is a binary file whereas in the other program it is a text
2.I was admitted to hospital for a while and had lots of family problems at that time.