cabruen@athena.mit.edu (Charles Alan Bruen) (01/15/91)
I am using THINK C 4.0 in a lab (aka no manuals) and I am having trouble
writing programs. I type in the simple programs below:
#include <stdio.h>
main()
{
printf("Usenet is great");
}
I then add the MacTraps file and my file "test.c". The problem is that
it compiles but does not link. It gives me a "printf" undefined error.
Can anyone help please. Sooner the better.
-Charles Bruen
Aero/Astro MIT
cabruen@athena.mit.edu
Dave.Frye@f555.n161.z1.FIDONET.ORG (Dave Frye) (01/27/91)
To run any ANSI C functions, you must add the ANSI library; there shouldn't be any need to have MACTRAPS if you use ANSI. -- Dave Frye - via FidoNet node 1:125/777 UUCP: ...!uunet!hoptoad!fidogate!161!555!Dave.Frye INTERNET: Dave.Frye@f555.n161.z1.FIDONET.ORG