Very, very new to C++ and I have my first project.
I have a file that I need to read in, and cut off any line over 1000 characters at 1000 characters and output that line as it was (at 1000 lines).
any help appreciated. I have done the search and not found anything here (or google) exactly to help me achieve this.
-bighead
Do you know how to read a line and print it?