Mail Archives: djgpp/1996/01/13/20:52:25
Error Message:
GNU C++ Compile: CUBESCPR.c
CUBESCPR.c(.text+0x3b): undefined reference to `cprintf'
CUBESCPR.c(.text+0x6a): undefined reference to `cprintf'
Program:
#include <conio.h>
main()
{
int i;
cprintf("Table of cubes\r\n");
for(i=1; i<11; i++)
{
cprintf("The cube of %2d is %4d\r\n", i, i*i*i);
}
}
Answer: Look at the documentation, read through my many books, works
with TC Lite.
"In Him was life, and His life is the light of men
He came unto His own but His own received Him not
but He gave power to as many as would receive Him
to become the sons of God!"
Peter Plum
RR1 Site10 Box 10
Grande Prairie. AB
T8V 2Z8
403 538 4713
- Raw text -