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
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
Last edited by mintsmike; 03-27-2009 at 09:33 AM. Reason: The formatting was wrong
If it's for Windows command prompt, much of the code here: Help editing console output
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
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
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
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.