Re^2: Latest indent request
Maarten Litmaath
maart at cs.vu.nl
Wed Dec 7 01:55:10 AEST 1988
pokey at well.UUCP (Jef Poskanzer) writes:
\main ()
\ {
\ if (expr)
\ {
\ while (cond)
\ {
\ };
\ }
\ }
\This style is common among ex Pascal programmers.
^^^^^^^^^^^^^^^^^^
Aha! Isn't the following one of the first lessons in C?
C is NOT Pascal, so don't do things like `#define BEGIN {'.
On the other hand, DO apply the K&R indenting rules!
BTW, I didn't even use the indenting scheme above for Pascal!
--
fcntl(fd, F_SETFL, FNDELAY): |Maarten Litmaath @ VU Amsterdam:
let's go weepin' in the corner! |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.wizards
mailing list