Subj : Re: simple c/c++ programming question about encryption To : comp.programming From : jagivens@hotmail.com Date : Mon Jul 04 2005 09:13 pm Thanks so much for the reply! How can I deal with how scanf reads a line? I put the counter update in the if block (so that it is only updated when a character is encrypted), but that is not really solving how to read only one character at a time. Is there a way to flush or discard "\n" when using scanf? And is there another way to read one character at a time? Again, I'm not that familiar with C. I took one C class in college, but I've found C++ and Java to be a lot easier to code - but even with those languages, I am a beginner. Any help that you can give me will be much appreciated. Thanks, .