Project: File I/O with Name
Make a program that:
Asks for the user’s name.
Saves it to
user.txt.Then opens and reads it back.
Project: File I/O with Name
Make a program that:
Asks for the user’s name.
Saves it to
user.txt.Then opens and reads it back.
#include <iostream>
// Include relevant headers
using namespace std;
int main() {
// Your code goes here
return 0;
}Do file I/O in C++