UpAboutMore


#include files

Voice Card  -  Volume 13  -  Paul Card Number 6  -  Fri, Mar 23, 1990 11:42 PM







This is a response to Vol 12 Roger 4 ("Think C ")...

Curious... The book I started to program the Mac from, "Using the Macintosh Toolbox With C", always carefully #includes appropriate files, such as QuickDraw.h - so I've been doing that, too. But you're right - the #include doesn't seem to be necessary. In fact, the samples included in the Think C distribution itself don't seem to bother with #include for those sorts of .h files. I suspect that Think C quietly #includes each of the standard .h files - whether you want them or not.

My programming is going reasonably well, I guess. I've worked up John's HyperCard prototype continent generator algorithm in C, with impressive results. John's algorithm takes about 3 hours to run in HyperCard on his SE. On my IIci - admittedly a somewhat faster machine - the same algorithm coded in C takes about 2 seconds. Wow! After I make the application a little more robust, I'll contribute it to Archipelago. This should be next issue, with a little luck. Would you be interested in looking at the C code?

And - Symantec has come out with a minor point release to Think C. The current version is now 4.0.1. I downloaded this in the last week or so. Would you be interested in the update files?




UpAboutMore