Thread: colour again.....

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    9

    Question colour again.....

    Y does'n text colour run on dev++? is there any way to make it work?

    #include <stdio.h>
    #include <conio.h>

    int main ( void )
    {
    textcolor (BLACK);
    cprintf ( "This is a test\n" );
    return 0;
    }

  2. #2
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    Just a wild guess but I think I heard something about it bieng a POSIX or *NIX function, go to the faq and look up the windows functions for it.

    ~ Paul

  3. #3
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    I am asumming you're running windows here


    http://www.cprogramming.com/cboard/s...ght=Text+Color
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 03-24-2006, 08:36 PM
  2. Curses-- colour pairs
    By sufthingol in forum C++ Programming
    Replies: 0
    Last Post: 03-21-2005, 08:26 PM
  3. Replies: 5
    Last Post: 03-01-2003, 04:52 PM
  4. DirectDraw colour matching
    By Hunter2 in forum Game Programming
    Replies: 2
    Last Post: 12-10-2002, 02:17 PM
  5. Colour theory... (weird title)
    By Magos in forum C++ Programming
    Replies: 5
    Last Post: 11-25-2001, 04:16 PM