Search:

Type: Posts; User: Dakshin

Search: Search took 0.01 seconds.

  1. I don`t see why... the 0 is in quotes, isn`t it?...

    I don`t see why... the 0 is in quotes, isn`t it? The program is checking a character, not integer
  2. Or you could just replace the EOF with ...

    Or you could just replace the EOF with


    while ((c = getchar()) != '0')

    and the program should stop with the loop.
Results 1 to 2 of 2