From my limited knowledge of c++ i created a program which converts celsius to farenheit. when the output is returned it has 'Press any key to continue' directly next to it.
How can I move this to another line???
Thanks for any help.
From my limited knowledge of c++ i created a program which converts celsius to farenheit. when the output is returned it has 'Press any key to continue' directly next to it.
How can I move this to another line???
Thanks for any help.
This moves the cursor to the start of the next line. That's the best I can do without seeing your code.Code:cout<<'\n';
The information given in this message is known to work on FreeBSD 4.8 STABLE.
*The above statement is false if I was too lazy to test it.*
Please take note that I am not a technical writer, nor do I care to become one.
If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
Don't assume that I'm ever entirely serious or entirely joking.
Thanks for that.
I forgot to attach the source file before but here it is now.
-sorry for grave digging old posts-
these four lines can be chopped into one
cout << "Farenheit value is:";
cout << Farenheit;
cout << "\n";
cout << "\n";
into
cout << "Farenheit value is:" << farenheit << "\n\n"<< endl;