Problem | firstabc |
---|---|
User | Tez |
Submission Time | 2023-12-06 09:22:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
firstabc.cpp: In function ‘int main()’:
firstabc.cpp:7:18: error: ‘ABC’ was not declared in this scope
7 | while (count != ABC){
| ^~~
firstabc.cpp:11:9: error: could not convert ‘s.std::__cxx11::basic_string<char>::operator=(((const char*)"A"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
11 | if (s = "A" ){
| ~~^~~~~
| |
| std::__cxx11::basic_string<char>
firstabc.cpp:15:14: error: could not convert ‘s.std::__cxx11::basic_string<char>::operator=(((const char*)"B"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
15 | else if (s = "B"){
| ~~^~~~~
| |
| std::__cxx11::basic_string<char>
firstabc.cpp:19:14: error: could not convert ‘s.std::__cxx11::basic_string<char>::operator=(((const char*)"C"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
19 |