Thread: Applying colour to texts and console in C Programming

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    12

    Question Applying colour to texts and console in C Programming

    1. How can i apply colour to texts in C programmig?

    2. How can i apply colour to the whole console?

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    This can be done with the NCurses library. There are other ways too. What platform?
    Mainframe assembler programmer by trade. C coder when I can.

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    12
    I am using Windows 7.

  4. #4
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Windows has an API for accessing the console to change the colors. Search MSDN.
    Console Functions (Windows)
    Mainframe assembler programmer by trade. C coder when I can.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. application console interface
    By Laurie8 in forum Windows Programming
    Replies: 4
    Last Post: 11-30-2005, 01:34 PM

Tags for this Thread