|
From: Ioannis V. <no...@ho...> - 2002-05-10 23:11:42
|
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 <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:undefined reference to 'gotoxy' And I can't execute the program. My program is in misdocumentos folder, inside c folder, inside experimentos en c, folder, c, experimento 5, folder How can I make it function?. I see that many exemples in tutorials use the conio library. Thanks for any suggestion |