Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 10 years ago

Language

Compiler

Options

Author

anonymous

almost 10 years ago

$
prog.cc: In function 'int main()':
prog.cc:12:17: warning: right operand of comma operator has no effect [-Wunused-value]
     cout << 1,2,3,4,5;
                 ^
prog.cc:12:19: warning: right operand of comma operator has no effect [-Wunused-value]
     cout << 1,2,3,4,5;
                   ^
prog.cc:12:21: warning: right operand of comma operator has no effect [-Wunused-value]
     cout << 1,2,3,4,5;
                     ^
prog.cc:12:22: warning: right operand of comma operator has no effect [-Wunused-value]
     cout << 1,2,3,4,5;
                      ^
1
1,2,3,4,5
Exit Code:
0