|
From: <ce...@te...> - 2004-04-18 15:10:09
|
Try including libgdi32 and libconio.a if you have it (libconio.a is not in
all mingw releases, or search for conio.o, or I don't know).
P.S.- For using this kind of function for graphics in console mode is
winbgim.
On Sat, 17 Apr 2004 19:30:58 +0000, faramarz yari
<far...@ho...> wrote:
> simply writing this :
>
> #include <stdio.h>
> #include <conio.h>
> #include <stdlib.h>
> 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
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|