Hi everyone,
I know this is more of a C++ question, that PocketFrog, but I figured you guys might be able to help me out anyway. I want to read a file that looks like this:
-1
-1
0
0
0
-1
0
etc.
How can I open that file, and then read the numbers in one by one into integers? Basically, I just need to know how to open the file and read it such that I can read one line at a time and convert it into the proper integer.