Question from a newbie?

This is a discussion on Question from a newbie? within the C++ Programming forums, part of the General Programming Boards category; Can you display text that is underlined and formated in anyway with just cout?...

  1. #1
    Xen1784
    Guest

    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
    Posts
    1,595
    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
    Posts
    608
    no it is impossible unless u you a gprhaics library scuch as allegro and use gprahics in which stuff is unerleined
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  4. #4
    Registered User Dr. Bebop's Avatar
    Join Date
    Sep 2002
    Posts
    96
    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.
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
    	cout<< "Some kind of test" <<endl;
    	cout<< "---- ---- -- ----" <<endl;
    	
    	return 0;
    }
    Bebop
    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, 05: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, 10:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21