CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (8 messages)

Change of address Message #66474
From: Chris Gray AmigaTech Forum · Other Languages September 18, 1989 12:47 AM
Please all distribute this notice far and wide! To all users of any of my software (Draco, Amiga Empire, Dis package, etc.): I have just recently finished moving, so my mailing address has changed The new address (note: only the apartment number has changed) is: Chris Gray Apt. 808 8515-112…
#60038- C coding style Message #60265
From: Chris Gray AmigaTech Forum · C Programming August 4, 1989 1:48 AM
Letting TABs expand to the indent amount that you want mostly works fine for program source (except of course inside strings), but what about other kinds of files. My editor automatically compresses whitespace into appropriate sequences of TABs and spaces, as do most UNIX editors. If you change your tabstops,…
#58775 #C coding style Message #59038
From: Chris Gray AmigaTech Forum · C Programming July 26, 1989 9:56 PM
For programming on the Amiga, or UNIX, or, I suspect, most other computer systems nowadays, using a 4 character indent will save you a fair amount of file space. Each pair of indents is then a single tab, which is one byte instead of 8. If you use 3 or…
From: Chris Gray AmigaTech Forum · C Programming July 26, 1989 9:37 PM
Thanks! I only hope I don't spend TOO much time here. Then I would fade away into someone who has no time to write more programs!
#58739 C coding style Message #59032
From: Chris Gray AmigaTech Forum · C Programming July 26, 1989 9:35 PM
Thanks. I think I can remember the convention – it sounds straightforward.
#58688 #C coding style Message #58689
From: Chris Gray AmigaTech Forum · C Programming July 24, 1989 9:32 PM
Oh, ick! – it reformatted it for me. Could some kind soul tell this poor CIS beginner how to tell the forum to keep my spacing at the beginning of lines? It did ok for the first bit, but then messed up. Was it the mismatched parentheses?
#58251 #C coding style Message #58688
From: Chris Gray AmigaTech Forum · C Programming July 24, 1989 9:30 PM
You realize of course that indentation styles are a matter of religion? The ONE CORRECT WAY to write a 'do-while' in C is: do { statements; } while (condition); 1) there is no point in using a separate line for the braces – they are intimitely bound to the statement…
From: Chris Gray AmigaTech Forum · C Programming July 24, 1989 8:55 PM
I have also been unhappy with C's lack of a nice 32/16/8 hierarchy of types. Historically, C had 8 bit char's (signed of course – PDP-11), 16 bit ints and 32 bit longs. I had no qualms about being incompatible with C when I put 32/16/8 bit signed and unsigned…