Char variables

is it possible to have someone enter two letters on same line and have those two characters stored as seperate char variables while only having initialized two char variables in the beginning?
Hello fivestar,

Yes. I believe what you want is std::cin >> charA >> charB; and your entry from the keyboard would be A B Enter.

If not you will need to explain your self better.

Andy
Thank you thats exactly what i meant.
Topic archived. No new replies allowed.