QUOTE(RoverTCV8 @ 1 Feb, 2008 - 10:15 PM)

Hello,
I am new to this as this is my new experience with C++. I have written about a 75 lines of code and is fine howeever, after my "double line,
I have this:
cout << "Input three different numbers: \b";
What I need to know is how to get 3 numbers to post on the same line with a space between them?
Thanks
David
do you mean that you want to print 3 numbers on the same line but with spaces between them?
or that you want spaces on the cin>> while your typing it in.
the first is easy there are multiple ways of doing it the latter is not so easy and i have no clue how it would be done.
cout<<2<<' '<<3<<' '<<4;
that is one way of doing it.
looks like Martyr beat me to it
This post has been edited by Jingle: 2 Feb, 2008 - 05:12 PM