facing an issue with filehandling my data is being stored intxt file but when i kill the terminal and run again it aint visible | Sololearn: Learn to code for FREE!

+1

facing an issue with filehandling my data is being stored intxt file but when i kill the terminal and run again it aint visible

The issue is that the data is visible in ..txt file and even out put is visible if we see the output for that particular instance but when we kill the terminal and run the code again the output is not visible but the data is saved in the file.

7/23/2021 4:23:51 PM

Ravikanti Ashrith

1 Answer

New Answer

+2

This must be due to the file-handling *mode that you use. Go and check file handling mode from here: https://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm If still you have any query, then you can post the source code too.