www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/08/01:37:14

Date: Wed, 8 Nov 1995 14:23:03 +0800 (SST)
From: Teng Yong Jeffrey <93602081 AT neptune DOT np DOT ac DOT sg>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Help regarding GPP

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019