Wanted: C idioms.

Earl Nolan nolan at ucbvax.BERKELEY.EDU
Wed Mar 26 18:44:52 AEST 1986


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 at ucbarpa.berkeley.edu]			earl nolan



More information about the Comp.lang.c mailing list