Code:
ifstream infile;

infile.open("input.txt");
I have the file saved in my project directory. What could be the problem.