/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:10:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(ch = getchar())
^
/in/foo.cc:10:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ch = getchar())
^~~~~
/in/foo.cc:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
t = ch - '0';
^
/in/foo.cc:14:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(ch = getchar())
^