0_0_20446858_16131.cpp:3:5: error: 'nbsp' declared as reference but not initialized
int main(){
^
0_0_20446858_16131.cpp: In function 'int main()':
0_0_20446858_16131.cpp:4:29: error: 'nbsp' declared as reference but not initialized
int n;
^
0_0_20446858_16131.cpp:4:34: error: 'n' was not declared in this scope
int n;
^
0_0_20446858_16131.cpp:5:30: error: conflicting declaration 'char& nbsp'
char ch[100];
^
0_0_20446858_16131.cpp:4:29: note: previous declaration as 'int& nbsp'
int n;
^
0_0_20446858_16131.cpp:5:35: error: 'ch' was not declared in this scope
char ch[100];
^
0_0_20446858_16131.cpp:8:29: error: redeclaration of 'int& nbsp'
int num_a,num_e,num_i,num_o,num_u;
^
0_0_20446858_16131.cpp:4:29: note: 'int& nbsp' previously declared here
int n;
^
0_0_20446858_16131.cpp:8:34: error: 'num_a' was not declared in this scope
int num_a,num_e,num_i,num_o,num_u;
^
0_0_20446858_16131.cpp:8:40: error: 'num_e' was not declared in this scope
int num_a,num_e,num_i,num_o,num_u;
^
0_0_20446858_16131.cpp:8:46: error: 'num_i' was not declared in this scope
int num_a,num_e,num_i,num_o,num_u;
^
0_0_20446858_16131.cpp:8:52: error: 'num_o' was not declared in this scope
int num_a,num_e,num_i,num_o,num_u;
^
0_0_20446858_16131.cpp:8:58: error: 'num_u' was not declared in this scope
int num_a,num_e,num_i,num_o,num_u;
^
0_0_20446858_16131.cpp:16:53: error: 'nbsp' declared as reference but not initialized
int len=strlen(ch);
^
0_0_20446858_16131.cpp:16:58: error: 'len' was not declared in this scope
int len=strlen(ch);
^
0_0_20446858_16131.cpp:17:57: error: 'nbsp' declared as reference but not initialized
for(int i=0;i<len;i++){
^
0_0_20446858_16131.cpp:17:62: error: 'i' was not declared in this scope
for(int i=0;i<len;i++){
^
0_0_20446858_16131.cpp:17:71: error: expected ')' before ';' token
for(int i=0;i<len;i++){
^
0_0_20446858_16131.cpp:17:72: error: 'i' was not declared in this scope
for(int i=0;i<len;i++){
^
0_0_20446858_16131.cpp: At global scope:
0_0_20446858_16131.cpp:29:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446858_16131.cpp:29:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
|