Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Don't Use Boost
C++03
-pedantic
$ g++ prog.cc -Wall -Wextra -std=c++98 -pedantic
even
Exit Code:
0
Author
anonymous
over 4 years ago
C++
gcc 10.1.0
Author
anonymous
over 4 years ago
$ g++ prog.cc -Wall -Wextra -std=c++98 -pedantic
prog.cc: In function 'int main()':
prog.cc:15:32: warning: for increment expression has no effect [-Wunused-value]
15 | for (int r=0 ; c <= b ; c+1) {
| ~^~
prog.cc:28:8: warning: statement has no effect [-Wunused-value]
28 | c;
| ^
even