Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!lll-crg!lll-lcc!ucdavis!ucbvax!nolan From: nolan@ucbvax.BERKELEY.EDU (Earl Nolan) Newsgroups: net.lang.c Subject: Wanted: C idioms. Message-ID: <12678@ucbvax.BERKELEY.EDU> Date: Wed, 26-Mar-86 03:44:52 EST Article-I.D.: ucbvax.12678 Posted: Wed Mar 26 03:44:52 1986 Date-Received: Sun, 20-Apr-86 07:24:43 EST Organization: University of California at Berkeley Lines: 13 Keywords: "Standard ways" 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