How to read and process one character at a time?

I am writing a program that I need to be able to read and process one character at a time in C++. Do I use a string to do that? If so how would that go in synta form(an example). If you don't use strings then what do I use and how syntax(an example). Thanks
What do you mean, exactly, by "read and process one character at a time"?
Be specific about what you want to happen.
For an eample if I was to enter lklk or jgjgjg I need to be able to read and process each character to see if it is well-formed or not.
Repeating the same words in another sentence does not improve specificity. I can give you at least two completely different answers right now with the very general problem statement you have given me so far.

What exactly are you trying to do?
Topic archived. No new replies allowed.