One can save the file on notepad or word and one can also open the file through clicking on it and read or write in it through cursor instead of using ifstream infile; and ofstream outfile;
One can write in file through clicking in the beginning of the file or end of the file and one can also click in the middle of the file and write in it instead of using file handling functions. Then why should we use file handling objects and functions and what is the purpose of using file handling functions?
> One can save the file on notepad or word and one can also open the file through clicking on it
> and read or write in it through cursor instead of using ifstream infile; and ofstream outfile;
Because the former are full applications, which if you were to go and read their source code, you would most likely find ifstream and/or ofstream lurking in there somewhere.