Run id: 71261
Main.cc: In function 'int main()':
Main.cc:8:6: error: 'year' was not declared in this scope
if(year%100 != 0) {
^
Main.cc:10:3: error: expected ';' before '}' token
} else {
^
Main.cc:9:6: warning: statement has no effect [-Wunused-value]
s + 1
^
Main.cc:14:4: error: expected ';' before '}' token
}
^
Main.cc:12:7: warning: statement has no effect [-Wunused-value]
s + 1
^
Main.cc:19:6: error: 'year' was not declared in this scope
if(year%100 != 0) {
^
Main.cc:21:3: error: expected ';' before '}' token
} else {
^
Main.cc:20:6: warning: statement has no effect [-Wunused-value]
s + 1
^
Main.cc:25:4: error: expected ';' before '}' token
}
^
Main.cc:23:7: warning: statement has no effect [-Wunused-value]
s + 1
^
Main.cc:30:6: error: 'year' was not declared in this scope
if(year%100 != 0) {
^
Main.cc:32:3: error: expected ';' before '}' token
} else {
^
Main.cc:31:6: warning: statement has no effect [-Wunused-value]
s + 1
^
Main.cc:36:4: error: expected ';' before '}' token
}
^
Main.cc:34:7: warning: statement has no effect [-Wunused-value]
s + 1
^
Main.cc: At global scope:
Main.cc:41:2: error: expected unqualified-id before 'return'
return 0;
^