I don't know what I'm doing wrong but I open my filed correctly but it doesn't display the contents in the file. Please help.
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
const int SIZE = 81;
char input[SIZE];
fstream dataFile;
dataFile.open("info.txt", ios::in);
dataFile.getline(input,SIZE);
system("pause");
return 0;
}