|
From: Carlos d. M. <cg...@wo...> - 2002-05-11 16:13:08
|
You have to #include <conio.c> This file seems not have all the functions it has in Borland (i think it is a header of Borland ported to mingw). Ioannis Vranos escribi=F3: > It means you did not #include the correct header file for gotoxy. Also > i think MINGW doesn't provide gotoxy() at all. gotoxy() does not > belong to the ANSI C standard and since you are a newcomer better > learn ANSI C first. Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.cjb.net* Alternative URL: > http://run.to/noicys > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Francisco Sard > Sent: Saturday, May 11, 2002 2:03 AM > To: Dev C++ > Subject: [Dev-C++] gotoxy > > Hello. I am learning to program C an I am a total begginer. > My question is that when I try to compile this program: > > #include <stdio.h> > #include <conio.h> > > int main() > { > gotoxy( 20, 10 ); > printf( "Hello" ); > } > > The linker gives me this warning: > > c:\misdoc~1\c\experi~1\exp5\exp5_fl.o(.text+0x1b):exp5_fl.c:undefi= ned reference to 'gotoxy' > > And I can't execute the program. > > My program is in misdocumentos folder, inside c folder, inside exp= erimentos en c, folder, c, experimento 5, folder > > How can I make it function?. I see that many exemples in tutorial= s use the conio library. > > Thanks for any suggestion > |