Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p88.f15.n300.z1.fidonet.org!Lawson.English From: Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) Newsgroups: comp.sys.mac.programmer Subject: Simple Question on THINK C Message-ID: <32575.276B8C21@stjhmc.fidonet.org> Date: 16 Dec 90 14:47:17 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:300/15.88 - Tucson Apple Core, Tucson AZ Lines: 36 Matthew C. Scallon writes in a message to All MCS> I wrote a simple MCS> program, no window management commands, no menu management commands, MCS> nothing. The program compiled fine, but it didn't link, and the MCS> keywords above were listed as "undefined." How can I get them MCS> un-"undefined?" I'd appreciate any help. MCS> Thanks, MCS> Mat As far as I know, it is impossible to compile *any* Mac program that works with the operating system that doesn't require the Window Manager, etc. This is because all input/output to the screen is done via the QuickDraw toolbox routines in ROM, and THESE assume that the various managers have been initialized (and therefore the various <#includes> have been <#include>-ed). Your best bet is to get a copy of the "Macintosh C Programming Primer," and step through it. ("Macintosh Revealed" and "Inside Macinstosh" vol 1-4 would help also). You might also step through the sample program "Hello World" that is included with the compiler, and, of course, read the manual tutorial on how to create simple programs using "Hello World," Bullseye" and "MiniEdit" [chapters 3,4,5]. Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org