Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site hao.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!hao!bill From: bill@hao.UUCP (Bill Roberts) Newsgroups: net.micro.mac Subject: hippoc for the mac Message-ID: <1767@hao.UUCP> Date: Fri, 20-Sep-85 16:10:52 EDT Article-I.D.: hao.1767 Posted: Fri Sep 20 16:10:52 1985 Date-Received: Wed, 25-Sep-85 05:30:44 EDT Distribution: net Organization: High Altitude Obs./NCAR, Boulder CO Lines: 16 Well, does anyone else feel like they've been ripped off by Hippopotamus Software, Inc.? I've been trying to use their Hippo~C Level 2 for the Mac to do some pretty basic stuff and am finding all kinds o problems. Why doesn't '\n' work in the following code segment? /* start-o-loop */ ... s[i] = getchar(); if (s[i] == '\n') break; ... /* end-o-loop */ If s[] is a 20 element array, then this loop doesn't break until the array is full. To get around the problem, I trigger on '.', but this causes a '~' to be echoed. Also, I can't find anything in the documentation on 'sizeof()'... whatthe #!&%$# is going on here!!! Has anyone else in netland experienced similar problems with Hippo~C? And if so, did you find any solutions to them. I'll saythanks in advance and will post any good ideas I recieve. Macbummed- Bill