Problem | countalp |
---|---|
User | PlayVoltz |
Submission Time | 2023-05-17 22:03:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
countalp.cpp: In function ‘int main()’:
countalp.cpp:9:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
9 | if (ss[i]=="a"){
| ^~~
countalp.cpp:12:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | else if (ss[i]=="b"){
| ^~~
countalp.cpp:15:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | else if (ss[i]=="c"){
| ^~~
countalp.cpp:18:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
18 | else if (ss[i]=="d"){
| ^~~
countalp.cpp:21:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
21 | else if (ss[i]=="e"){
| ^~~
countalp.cpp:24:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
24 | else if (ss[i]=="f