Professional Documents
Culture Documents
Lab 14
Lab 14
2. Open a file called firstfile.txt for writing and reading, which will be returning a pointer f
of file object.
3. Write a program to prompt the user for an input. Store the input into a file called
firstfile.txt.
4. Write a program to read the contents from firstfile.txt and display it on the screen.