I tried using this program to see if the file path was corret, but apparently it's not. I don't know what the problem is. The text file is located in the root of the C drive.
#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
int main()
{
int sum = 0;
int x;
ifstream inFile;
ofstream outFile;