Thread: ...linker error...2

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

    Question ...linker error...2

    i've read the FAQ countless times and i tried but i still got this...

    " [linker error]undefined refrence to 'textcolor' "

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


    int main ()
    {
    textcolor(BLUE);

    cprintf( "This is a test\n" );
    getch();
    return 0;
    }

    Can anyone help me out here...and tell me how it's supposed to be done....i'm using Dev++ 4.9.7.0...
    Thanks...

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    29
    Hi,
    I copied it into CBuilder4 and it compiled and worked fine.
    Sorry I can't help, I don't know Dev++ 4.9.7.0...
    Colin

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linker problem... no idea
    By cyreon in forum C Programming
    Replies: 2
    Last Post: 04-03-2009, 02:53 PM
  2. linker
    By George2 in forum C++ Programming
    Replies: 6
    Last Post: 02-23-2008, 01:25 AM
  3. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 07:42 AM
  4. Linker errors when compiling
    By The Wazaa in forum C++ Programming
    Replies: 4
    Last Post: 10-07-2006, 12:55 PM
  5. Linker errors with Visual C++
    By codegirl in forum C++ Programming
    Replies: 4
    Last Post: 09-11-2003, 09:20 AM