If anyone has C++ code that reads an input string one character at a time, I would appreciate it if you would post it.

I would like to see if I can read in a file and strip out the carriage returns from it.

Thank you.