0_0_25943984_4162.cpp: In function 'int main()':
0_0_25943984_4162.cpp:25:16: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator<<'
if (count << n) cout << "Loowater is doomed!" << endl;
^
0_0_25943984_4162.cpp:26:16: error: 'sum' was not declared in this scope
else cout << sum << endl;
^
0_0_25943984_4162.cpp: At global scope:
0_0_25943984_4162.cpp:28:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_25943984_4162.cpp:29:1: error: expected declaration before '}' token
}
^
|