foo.cpp: In function 'int in(int, char, int)':
foo.cpp:9:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ch!='-'&&(ch>'9'||ch<'0')) ch=getchar();if(ch=='-') v=-1,ch=getchar();
^~~~~
foo.cpp:9:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(ch!='-'&&(ch>'9'||ch<'0')) ch=getchar();if(ch=='-') v=-1,ch=getchar();
^~
foo.cpp:10:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ch>='0'&&ch<='9') x=(x<<3)+(x<<1)+ch-'0',ch=getchar();return x*v;}
^~~~~
foo.cpp:10:65: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(ch>='0'&&ch<='9') x=(x<<3)+(x<<1)+ch-'0',ch=getchar();return x*v;}
^~~~~~
foo.cpp: At global scope:
foo.cpp:38:1: error: expected unqualified-id before '?' token
?
^