My code is not reading the file I want it to. Yes, I am using ./a.out < filename to run it, still it does not read the file. The loop is working, but it is not r
./a.out < filename