prog.cpp:10:10: warning: character constant too long for its type
if (!'false' == 'true'){
^~~~~~~
prog.cpp:10:21: warning: multi-character character constant [-Wmultichar]
if (!'false' == 'true'){
^~~~~~
prog.cpp:25:80: warning: multi-character character constant [-Wmultichar]
print(('0' + - + - - + - - + + - + - + - + - - - + - - - - - - - - + - - + + '-9'))
^~~~
prog.cpp:2:1: error: ‘var’ does not name a type; did you mean ‘char’?
var a
^~~
char
prog.cpp:24:1: error: expected unqualified-id before ‘if’
if (1) {
^~
prog.cpp:27:1: error: expected declaration before ‘}’ token
}
^