Should the input file automatically be created after typing it in the program? Because I could not find it. And let me remind you I'm a network student being forced by my school to take one programing class and that is why im not so good at this. I looked online watched a couple videos online and it looked like it should automatically make the file.
Code:
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream inputfile;
ofstream outputfile;
int score;
string username;
inputfile.open("inputfile.txt,ios::in");
outputfile.open("outputfile.txt,ios::out");
inputfile.close();
outputfile.close();
return 0;
}