This is the program I have so far...
Code:
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <string>
using namespace std;
// Function prototypes (ensure you add the comments)
int main()
{
ifstream input;
input.open("numbers.txt");
if (input.fail())
{
cout<<"Input file opening failed.\n";
exit(1);
}
return 0;
input.close();
}