Hey so I have been working on this program where I am supposed to read and write a file of ten grades and average those ten grades and then write the ten grades to a file. (by the way I am not too worried about the averaging function so I am not including it). Here is my code:
#include <iostream>
#include <cassert>
#include <fstream>
using namespace std;
He means did you put the text file containing the grades in the same folder as the .exe for the program? If you're using Dev-C++, put it in your file's folder. If you're using a real compiler, it should be in your Debug folder or something similar.