CompuServe Messages

C problems

    02-Mar-91 08:41:57
Sb: #8037-C problems
Fm: Greg Comeau@Comeau Cmptg 72331,3421
To: Don Curtis/SYSOP 76703,4321
>In reference to the getchar() call, you should always flush standard >input before using getchar() since the default is buffered i/o. I must take issue with that: flushing standard input should only be something contemplated in respect to the logic of a *specific* program and not all programs. Also, flushing the stream will not give him unbuffered abilities (unless Aztec is not standard), he'll have to use a set*buf() function for that if he deems it desirable.