Hi, I began file I/O and I did exactly what it said in the book I was using and it doesn't seem to work for some reason. Am I doing something wrong?
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream fin("hello.txt");
if (fin.is_open())
cout << "It's good";
else
cout << "Not good";
return 0;
}