Hi,
I recently downloaded dev c++ and I am trying to clear the dos window im
writing to. The command clrscr(); I thought should work.
I added conio.h to the include files but when i compile with that command
in it I get an error in the linker "undefined reference to clrscr();"
Can anyone tell me what im doing wrong here?
Thanks
Lawrence
From: Ioannis V. <no...@ya...> - 2000-11-23 17:21:20
try #include <cstdlib>
... system("cls");
or #include <stdlib.h> ... system("cls"); in a C program.
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...]On Behalf Of loll
> Sent: Wednesday, November 22, 2000 11:18 PM
> To: dev...@li...
> Subject: [Dev-C++] Problem with clrscr
>
>
> Hi,
>
> I recently downloaded dev c++ and I am trying to clear the dos window im
> writing to. The command clrscr(); I thought should work.
>
> I added conio.h to the include files but when i compile with that command
> in it I get an error in the linker "undefined reference to clrscr();"
>
> Can anyone tell me what im doing wrong here?
>
> Thanks
>
> Lawrence
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: Saundra S. <Sch...@ho...> - 2000-11-24 03:31:50
try using this.....
system("cls");
--Sam
----- Original Message -----
From: loll <cp...@th...>
To: <dev...@li...>
Sent: Wednesday, November 22, 2000 1:18 PM
Subject: [Dev-C++] Problem with clrscr
> Hi,
>
> I recently downloaded dev c++ and I am trying to clear the dos window im
> writing to. The command clrscr(); I thought should work.
>
> I added conio.h to the include files but when i compile with that command
> in it I get an error in the linker "undefined reference to clrscr();"
>
> Can anyone tell me what im doing wrong here?
>
> Thanks
>
> Lawrence
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
>