我要設計一個時鐘程式
原始碼:
#include <conio.h>
#include <stdio.h>
#include <time.h>
int main()
{
time_t lt;
while(!kbhit())
{
lt=time(NULL);
gotoxy(30,15);
printf("現在時間:\n");
printf(ctime(<));
}
}
錯誤訊息:
In function `int main()':
`gotoxy' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
我是用dev C++的
是個菜鳥XD
不知道各位大大是否可以教我?
感激不盡!!!!!!!!!!!!!!!!!!!!!!!!!!!