Can you display text that is underlined and formated in anyway with just cout?
Can you display text that is underlined and formated in anyway with just cout?
formatted, at least by some definitions of what formatted means, yes. you need to define what you mean by formatted.
underlined, I don't think so.
no it is impossible unless u you a gprhaics library scuch as allegro and use gprahics in which stuff is unerleined
You can kind of fake underlined words with cout, but it doesn't look as good as something graphical. And it might be possible to use some operating system specific feature that does what you want, I don't know of anything like that though.
BebopCode:#include <iostream> using namespace std; int main() { cout<< "Some kind of test" <<endl; cout<< "---- ---- -- ----" <<endl; return 0; }
Processing error: Stupidity detected.
------------------------------
Dr. Bebop
Windows XP Professional Ed.
Microsoft Visual Studio 6