Applying colour to texts and console in C Programming

This is a discussion on Applying colour to texts and console in C Programming within the C Programming forums, part of the General Programming Boards category; 1. How can i apply colour to texts in C programmig? 2. How can i apply colour to the whole ...

  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
    Katy, Texas
    Posts
    2,309
    This can be done with the NCurses library. There are other ways too. What platform?
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  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
    Katy, Texas
    Posts
    2,309
    Windows has an API for accessing the console to change the colors. Search MSDN.
    Console Functions (Windows)
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

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


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