How to do this with array?

Hi,

Total newb here, how would i do this not using a cin? the program must read 5 characters from the user and print them in reverse order?

If cin is forbidden, use a scanf.
Why can't you use cin? ;_; If you need cin to read individual characters, it can do that via either the get() member function or the >> operator.

-Albatross
Topic archived. No new replies allowed.