Thread: Question from a newbie?

  1. #1

    Post Question from a newbie?

    Can you display text that is underlined and formated in anyway with just cout?

  2. #2
    Registered User
    Join Date
    Mar 2002
    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.

  3. #3
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    no it is impossible unless u you a gprhaics library scuch as allegro and use gprahics in which stuff is unerleined
    Email: || AIM: MisterSako || MSN:

    -the shroom has spoken

  4. #4
    Registered User Dr. Bebop's Avatar
    Join Date
    Sep 2002
    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.
    #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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stupid Newbie question
    By TimL in forum C++ Programming
    Replies: 4
    Last Post: 07-22-2008, 04:43 AM
  2. C prog newbie question
    By Draginzuzu in forum C Programming
    Replies: 1
    Last Post: 02-03-2003, 06:45 PM
  3. a stupid question from a newbie
    By newcomer in forum C++ Programming
    Replies: 4
    Last Post: 01-11-2003, 04:38 PM
  4. confusion with integers (newbie question)
    By imortal in forum C Programming
    Replies: 7
    Last Post: 12-06-2002, 04:09 PM
  5. newbie class templates question
    By daysleeper in forum C++ Programming
    Replies: 2
    Last Post: 09-18-2001, 09:50 AM