displaying output anywhere in the console

Hi, so im wondering of its possible to display the output in any part of the console, not just in the left part. Im doing a bio data and I would like to make it as a bio data that the user can fill up. I would like to display my couts for example in the middle or like this

What i aim as an output
------------------------------------------
First ame:_ Middle name:_ Last name:_

*Here's what I have so far. Sorry Im just a beginner

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  int main()
{
   char Fname[50], MI[5], Lname[50];
   char natio[50], address[100], religion[50];
   int age, bday, studnum;
   
   
   cout<<" JPCS Applicant's Registration Form ";
   cout<<"First name: ";
   cin>>Fname;
   cout<<"Middle Initial: ";
   cin>>MI;
   cout<<"Surname: ";
   cin>>Lname;
   cout<<"Age: ";
   cin>>age;
   cout<<"Birthday: ";
   cin>>bday;
   cout<<"Address: ";
   cin>>address;
   cout<<"Religion: ";
   cin>>religion; 

    system("pause<0");
    return 0;
}

setw will allow you to move text across in the console: http://www.cplusplus.com/reference/iomanip/setw/
wow thanks for the reference, ill try it :)
Another question.. how can I make the middle name and last name in the same line with the first name?

You can put multiple variables on a single cout statment, but would need to include a space between them so that first name, middle and last are not joined together.

cout << Fname << " " << MI << " " << Lname << endl;
Topic archived. No new replies allowed.