col secondo codice

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

int main()
{
    char top = 1;
    
    textcolor(LIGHTGREEN);
    while(1)
    {
        if(top > 24) 
        {
            gotoxy(1, 24);
            putchar(' ');
            top = 1;
        }    
        gotoxy(1, top);
        putchar('X');
        gotoxy(1, top - 1);
        putchar(' ');
        top++;
        Sleep(70);
    }

  return 0;
}
ricevo questo errore
C:\Documents and Settings\root\Desktop\Untitled1.cpp In function `int main()':
8 C:\Documents and Settings\root\Desktop\Untitled1.cpp `LIGHTGREEN' undeclared (first use this function)
8 C:\Documents and Settings\root\Desktop\Untitled1.cpp `textcolor' undeclared (first use this function)
13 C:\Documents and Settings\root\Desktop\Untitled1.cpp `gotoxy' undeclared (first use this function)
22 C:\Documents and Settings\root\Desktop\Untitled1.cpp `Sleep' undeclared (first use this function)