Mail Archives: djgpp/1995/11/08/01:37:14
I recently downloaded DJGPP.
The essential files have been downloaded (dj112m1, ...etc.)
Everything works fine for C files.
But when I try to use the functions in gppconio.h (gotoxy),
gcc gives me "undefined reference to 'gotoxy'"
Here's the listing..
/* lineed.c */
#include ..
#include <gppconio.h>
main()
{
..
call to function lineed
}
lineed(..)
{
..
..
gotoxy (..)
more references to gotoxy
}
What I don't get is, from the FAQ, it seems like just by getting and
unzipping the two files GPP263.zip and LGP262bn.zip, I can use the
C++ functions already. So how come GCC gives me these errors?
Or is it that I have to rename the file to .cc extension, and change
all the syntax to C++ syntax?
If I have to change the syntax, is there any program to help me do this?
I'd hate to do it manually.
- Raw text -