|
From: Per W. <pw...@ia...> - 2004-04-18 18:14:09
|
Don't know if it is distributed now, but at least there have been a
conio.h/conio.c available
The conio.c does contain
clrscr(), clreol(), delline(), _conio_gettext(),
gotoxy(), puttext(), _setcursortype(), textattr(),
textbackground(), textcolor(), wherex(), wherey()
/Per W
On Sun, 18 Apr 2004, Mohammed Iqbal wrote:
> If you want your program to run, compile it with Borland C++ compilers.
> There're no libraries with gcc to link to conio.h.
>
> Mohamed
> ----- Original Message -----
> From: "faramarz yari" <far...@ho...>
> To: <Dev...@li...>
> Sent: Saturday, April 17, 2004 9:30 PM
> Subject: [Dev-C++] problem with conio.h
>
>
> > 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
> >
>
>
>
> -------------------------------------------------------
> 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
>
|