Xref: utzoo comp.lang.c:20265 comp.sys.mac:35567 comp.sys.mac.programmer:7933 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!mcf!mibte!gamma!thumper!pff From: pff@thumper.bellcore.com (Peter Ferris) Newsgroups: comp.lang.c,comp.sys.mac,comp.sys.mac.programmer Subject: Lightspeed "C" 3.02 Neophyte Question / prob. Keywords: LSC, probably simple! Message-ID: <1667@thumper.bellcore.com> Date: 31 Jul 89 01:25:30 GMT Organization: Bell Communications Research Lines: 36 Dear C & Mac Gurus, I'm begining to teach myself "C" (AGAIN!). I'm using LSC (Lightspeed C, Version 3.02 by Symantec). Everything is going well BUT for one thing! I've "written" the following "Hello World" program - per K&R: /***** * * Hello World - LSC 3.02 * Pete Ferris 07/15/89 * *****/ #include main() { printf("Hello world!\n"); } Everything runs just fine... TOO fine! I believe it works, but it's toooo quick! The console window opens, displays "Hello world!" and 'slams' shut VERY, VERY quickly. Any suggestions? I've run this program on other Macs and different versions of LSC with no probs. Currently I'm running LSC 3.02, a Mac IIX (8MB RAM). Any thoughts? Many thanks! Note: My project folder includes: mactraps hello.c stdio (not in any special order!) Please e-mail replies to: Pete Ferris Internet: pff@thumper.bellcore.com AppleLink: N1009