|
From: <i1...@ya...> - 2004-04-18 05:41:04
|
You can use system("CLS");
or declare the function:
void clrscr(){
system("CLS");
}
faramarz yari <far...@ho...> wrote:simply writing this :
#include
#include
#include
int main(int argc, char *argv[])
{
clrscr();
gotoxy(10,10);
system("PAUSE");
return 0;
}
there is no compiler error but linker made this errors :
:conio.cpp: undefined reference to `clrscr'
conio.cpp: undefined reference to `gotoxy'
i have this problem only with conio.h.
i check conio.h & find the prototype of these functions in cinio is
availble.
what should i do to solve it?
thank u in advanced
---------------------------------
Yahoo! Messenger - Fale com seus amigos online. Instale agora! |