CompuServe Messages

C problems

    01-Mar-91 19:13:36
Sb: #8026-C problems
Fm: Greg Comeau@Comeau Cmptg 72331,3421
To: Henry Williams 73527,1446
Are you saying that even though there are printf's up higher that you get an unresolved printf until you comment out the printf associated with the default?? Re the alternative getchar() every other time though, do you by any chance do something like:d<return>? That is, is the other time the <return>? BTW, why c = 0; immediately followed by c = getchar()? Also, although it may not be obvious, you should make 'c' and int rather than a char, as getchar() "returns" an int, not a char (since it's gotta handle EOF being -1).