Colours in console application

This is a discussion on Colours in console application within the C++ Programming forums, part of the General Programming Boards category; Is there any way of altering the text and/or background colour in a console application. I would like to make ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    30

    Question Colours in console application

    Is there any way of altering the text and/or background colour in a console application.

    I would like to make a title stand out and the best I can do at the moment is capitalisation and underlining.

    Thanks
    Homer

    D'OH!

    mmmmmmmm... iterations

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Khe-wha?

    Originally posted by Homer
    The best I can do at the moment is capitalisation and underlining.
    In a console window? (Which looks like DOS?). I didn't think you could do that...
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    a search would have thrown this up.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    30

    Thanks

    Thanks SC, I'll read up and have a play about...

    Magos - by capitalisation I meant upper case and by underlining I meant a line of dashes on th next line.

    Cheers
    Homer

    D'OH!

    mmmmmmmm... iterations

  5. #5
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Cool Oh...

    Oh... OK!
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. simple snmp console application.
    By csteinsv in forum C++ Programming
    Replies: 0
    Last Post: 06-01-2009, 05:03 PM
  2. Subject:How to create a C# console application?
    By Adock in forum C# Programming
    Replies: 5
    Last Post: 09-03-2008, 05:58 PM
  3. Adding interface to Win32 console application
    By motiz in forum Windows Programming
    Replies: 5
    Last Post: 01-03-2008, 02:17 AM
  4. Running a console application
    By maxorator in forum C++ Programming
    Replies: 4
    Last Post: 10-03-2005, 04:23 AM
  5. Console Application
    By Mont_Blanc in forum C++ Programming
    Replies: 3
    Last Post: 04-17-2004, 03:07 AM

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