0_0_22755014_16242.cpp: In function 'int main()':
0_0_22755014_16242.cpp:3:16: error: 'nbsp' was not declared in this scope
#define max 20
^
0_0_22755014_16242.cpp:7:10: note: in expansion of macro 'max'
{ char a[max],b[max],c[max];
^
0_0_22755014_16242.cpp:3:20: error: expected ']' before ';' token
#define max 20
^
0_0_22755014_16242.cpp:7:10: note: in expansion of macro 'max'
{ char a[max],b[max],c[max];
^
0_0_22755014_16242.cpp:7:13: error: expected primary-expression before ']' token
{ char a[max],b[max],c[max];
^
0_0_22755014_16242.cpp:7:20: error: expected primary-expression before ']' token
{ char a[max],b[max],c[max];
^
0_0_22755014_16242.cpp:7:27: error: expected primary-expression before ']' token
{ char a[max],b[max],c[max];
^
0_0_22755014_16242.cpp:13:14: error: 'a' was not declared in this scope
scanf("%s%s",a,b);
^
0_0_22755014_16242.cpp:13:16: error: 'b' was not declared in this scope
scanf("%s%s",a,b);
^
0_0_22755014_16242.cpp:17:1: error: 'c' was not declared in this scope
c[0]=a[0];
^
0_0_22755014_16242.cpp:38:7: error: 'else' without a previous 'if'
else
^
0_0_22755014_16242.cpp:48:15: error: 'else' without a previous 'if'
else
^
|