Currently, I am working on a project that involves putting the output to the very far right of the MSDOS box. Does anyone know any way that I can achieve this.
Thanks
Printable View
Currently, I am working on a project that involves putting the output to the very far right of the MSDOS box. Does anyone know any way that I can achieve this.
Thanks
If it's for Windows command prompt, much of the code here: http://cboard.cprogramming.com/cplus...le-output.html
will probably help you.
If it's actually for DOS, then you would have to do something different (depends on which compiler what you actually end up doing).
--
Mats
I really dont see how that is meant to help me, sorry
I just want some sample code.
Eg.
cout << "blah blah";
cout << setw(75) << right << "Text on the right";
something like that, you mean?
--
Mats