File IO of String Data
Understand the file handling of strings data in C++.
We'll cover the following...
Challenge
Write a program to write strings into a file called STRINGS.TXT
. Read the same file back and display the contents read on the screen.
Sample run
root@educative:/usr/local/educative# g++ main.cpp
root@educative:/usr/local/educative# ./a.out
You should be enthusiastic about your future
That is where you are
...