what i mean is i want to take the names side by side
Robert Rakesh Raamu
If i press enter then the cursor automatically moving to the new line , but i need to move it by certain number of positions in the same line.
You could try doing it this way. This compiles and runs under MS Visual C++ 2008 Express Edition. If you're using something else, you may need to make a few changes.