|
|
вернуться в форумInput problem Послано BoRN 8 окт 2002 22:54 I don't know when the input will terminate any one pls help?? Re: Input problem while ((c=getc(stdin)!=-1) /* while not EOF*/ switch (c) { case '>' : case '<' : ..... } .... may be something of this sort. c=getc(stdin)!=-1[>> what does -1 refer Послано BoRN 9 окт 2002 19:07 Re: c=getc(stdin)!=-1[>> what does -1 refer i think it's End Of File (EOF) because input to standard input is a file. so... mah!!! |
|
|