Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!watnot!watrose!gjditchfield From: gjditchfield@watrose.UUCP Newsgroups: comp.lang.c++ Subject: flush() Message-ID: <8327@watrose.UUCP> Date: Fri, 12-Dec-86 22:15:26 EST Article-I.D.: watrose.8327 Posted: Fri Dec 12 22:15:26 1986 Date-Received: Mon, 15-Dec-86 20:22:37 EST Distribution: comp Organization: U of Waterloo, Ontario Lines: 15 The following program results in an error message from cc (not CC). #includemain() { char c; while ( cin.get(c) ) cout << c; cout.flush(); } cc claims that line 5 (cout.flush()) is an illegal function. Help! -- ------------------------------------------------------------------------------- Glen Ditchfield {watmath,utzoo,ihnp4}!watrose!gjditchfield Dept of Computer Science, U of Waterloo (519) 885-1211 x6658 Waterloo, Ontario, Canada "Flame not, lest thou be singed" - Mr. Protocol