Thread: Font Colour

  1. #1
    Unregistered
    Guest

    Font Colour

    Can anyone help me, i want to change the colour of the text in dos mode?

    Thanx

  2. #2
    Unregistered
    Guest
    textcolor(RED);
    cprintf("Hello World!");

    same as above...

    textcolor(4);
    cprintf("Hello World!");

  3. #3
    Unregistered
    Guest
    Thanx alot, going to try it now

  4. #4
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    I dont think that function is in the C standard library. What headers are needed?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with my font manager
    By hannibar in forum C Programming
    Replies: 1
    Last Post: 03-07-2006, 08:03 AM
  2. destroywindow() problem
    By algi in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2005, 11:40 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. Colour Font
    By stalker in forum Windows Programming
    Replies: 2
    Last Post: 10-24-2003, 12:41 PM
  5. How To Give A Font Colour ?
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 09-14-2001, 01:22 PM