I use Putty for coding, so my question, while general in scope, is asked from the perspective of that program.
How do you take a file from the command line and read it line for line into the main program so it can then be parceled out and manipulated in functions? I understand that you use the fstream class, but I'm not sure at the correct procedure for actually reading lines from the file