Problem | pigeons |
---|---|
User | JhoCyber |
Submission Time | 2024-12-16 20:23:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeons.cpp: In function ‘int main()’:
pigeons.cpp:9:47: error: expected ‘;’ before ‘cin’
9 | cout << "Choose LAND, LEAVE, EVAQUATE"
| ^
| ;
10 | cin >> a;
| ~~~
pigeons.cpp:11:15: error: could not convert ‘a.std::__cxx11::basic_string<char>::operator=(((const char*)"LAND"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
11 | if (a = "LAND"){
| ~~^~~~~~~~
| |
| std::__cxx11::basic_string<char>
pigeons.cpp:14:15: error: could not convert ‘a.std::__cxx11::basic_string<char>::operator=(((const char*)"LEAVE"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
14 | if (a = "LEAVE"){
| ~~^~~~~~~~~
| |
|