[net.lang.c] Wanted: C idioms.

nolan@ucbvax.BERKELEY.EDU (Earl Nolan) (03/26/86)

I am (with about 20 other students) assisting a professor in developing
a course to teach students C.  We have decided that for part of the reader
to provide some "standard idioms" and/or "clever" but not too obtuse ways
of doing things.  Example: while((c = getchar()) != EOF)
				do something;
for reading in character input.  If you have any idioms please e-mail.  If
there is sufficient interest, I will summarize to the net.

thank you.
-- 
Eight weeks and holding until... (freedom).
[..!ucbvax!nolan] 				/* no comment */
[nolan@ucbarpa.berkeley.edu]			earl nolan