0_0_19041594_12726.cpp:3:5: error: 'nbsp' declared as reference but not initialized
int main()
^
0_0_19041594_12726.cpp: In function 'int main()':
0_0_19041594_12726.cpp:5:29: error: 'nbsp' declared as reference but not initialized
int n,sum;
^
0_0_19041594_12726.cpp:5:34: error: 'n' was not declared in this scope
int n,sum;
^
0_0_19041594_12726.cpp:5:36: error: 'sum' was not declared in this scope
int n,sum;
^
0_0_19041594_12726.cpp:6:30: error: conflicting declaration 'char& nbsp'
char str[1000];
^
0_0_19041594_12726.cpp:5:29: note: previous declaration as 'int& nbsp'
int n,sum;
^
0_0_19041594_12726.cpp:6:35: error: 'str' was not declared in this scope
char str[1000];
^
0_0_19041594_12726.cpp:8:33: error: 'nbsp' declared as reference but not initialized
for(int i=1;i<=n;i++)
^
0_0_19041594_12726.cpp:8:38: error: 'i' was not declared in this scope
for(int i=1;i<=n;i++)
^
0_0_19041594_12726.cpp:8:46: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_19041594_12726.cpp:8:47: error: 'i' was not declared in this scope
for(int i=1;i<=n;i++)
^
0_0_19041594_12726.cpp:12:57: error: 'nbsp' declared as reference but not initialized
for(int j=0;j<signed(strlen(str));j++)
^
0_0_19041594_12726.cpp:12:62: error: 'j' was not declared in this scope
for(int j=0;j<signed(strlen(str));j++)
^
0_0_19041594_12726.cpp:12:87: error: expected ')' before ';' token
for(int j=0;j<signed(strlen(str));j++)
^
0_0_19041594_12726.cpp:12:88: error: 'j' was not declared in this scope
for(int j=0;j<signed(strlen(str));j++)
^
0_0_19041594_12726.cpp:17:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
return 0;
^
|