Xref: utzoo comp.lang.c:20369 comp.sys.mac:35843 comp.sys.mac.programmer:8050 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!sumax!ole!steven!paul From: paul@steven.COM (paul) Newsgroups: comp.lang.c,comp.sys.mac,comp.sys.mac.programmer Subject: Re: Lightspeed "C" 3.02 Neophyte Question / prob. Summary: use a scanf... Keywords: LSC, probably simple! Message-ID: <70@steven.COM> Date: 2 Aug 89 18:23:19 GMT References: <1667@thumper.bellcore.com> Organization: Sierra Geophysics Inc., Kirkland, Wa. Lines: 11 In article <1667@thumper.bellcore.com>, pff@thumper.bellcore.com (Peter Ferris) writes: > 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 I had this same problem on a 2 Meg Mac+ and had to put a scanf to accept a carriage return. getchar won't accept a straight carriage return. It needs something to chew on. .