![]() This is my code to save all the record in one text file: ofstream thefile("ID.txt", ios::app) I want to access specific location or line and also to overwrite it. ![]() because my files contains the record of multiple passengers but I want to show the only one's data. if user choose search and Enter the name then how can I access specific number of lines. i need to add search option and modification option. In my program I wish to use file handling and I am succeed to save all the inputs in text file. ![]() ![]() I am using the simple compiler "TCWIN45". I am making an airline reservation software and I don't know much about the Visual C++.
0 Comments
Leave a Reply. |