Problem glottalstops
User jamallikestocode
Submission Time 2026-02-11 17:23:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

glottalstops.cpp: In function ‘int main()’:
glottalstops.cpp:13:25: error: a function-definition is not allowed here before ‘{’ token
13 | bool isVowel(char c){
| ^
glottalstops.cpp:18:9: error: ‘c_int’ was not declared in this scope; did you mean ‘u_int’?
18 | for(c_int i = 0; i < N.length(); i++){
| ^~~~~
| u_int
glottalstops.cpp:18:22: error: ‘i’ was not declared in this scope
18 | for(c_int i = 0; i < N.length(); i++){
| ^
glottalstops.cpp:19:12: error: ‘isVowel’ was not declared in this scope; did you mean ‘islower’?
19 | if(isVowel(N[i])&& N[i] == N[i + 1]){
| ^~~~~~~
| islower