/in/foo.c:7:11: error: expected ':', ',', ';', '}' or '__attribute__' before '=' token
int* data=(int*)malloc(MaxSize*sizeof(int));
^
/in/foo.c:11:19: error: expected ';', ',' or ')' before '&' token
void push(int x,s &p)
^
/in/foo.c:16:12: error: expected ';', ',' or ')' before '&' token
void pop(s &p)
^
/in/foo.c: In function 'main':
/in/foo.c:27:9: error: 's {aka struct SqStack}' has no member named 'data'
s0.data[j]=-1,s1.data[j]=-1;
^
/in/foo.c:27:23: error: 's {aka struct SqStack}' has no member named 'data'
s0.data[j]=-1,s1.data[j]=-1;
^
/in/foo.c:27:20: warning: left-hand operand of comma expression has no effect [-Wunused-value]
s0.data[j]=-1,s1.data[j]=-1;
^
/in/foo.c:33:8: warning: implicit declaration of function 'push' [-Wimplicit-function-declaration]
push(j,s1);
^~~~
/in/foo.c:36:20: error: 's {aka struct SqStack}' has no member named 'data'
for(int k=s1.data[s1.top]+1;k<j;k++)
^
/in/foo.c:36:28: error: 's {aka struct SqStack}' has no member named 'top'
for(int k=s1.data[s1.top]+1;k<j;k++)
^
/in/foo.c:57:21: error: 's {aka struct SqStack}' has no member named 'top'
for(int k=0;k<s0.top;k++)
^
/in/foo.c:59:18: error: 's {aka struct SqStack}' has no member named 'data'
for(int l=s0.data[k];l<s0.data[k+1];l++)
^
/in/foo.c:59:31: error: 's {aka struct SqStack}' has no member named 'data'
for(int l=s0.data[k];l<s0.data[k+1];l++)
^
/in/foo.c:63:13: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')&(s2[s0.data[k+1]]-'0');
^
/in/foo.c:63:31: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')&(s2[s0.data[k+1]]-'0');
^
/in/foo.c:63:52: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')&(s2[s0.data[k+1]]-'0');
^
/in/foo.c:64:13: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]+='0';
^
/in/foo.c:66:13: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k]]='\0';
^
/in/foo.c:71:13: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
^
/in/foo.c:71:31: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
^
/in/foo.c:71:52: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
^
/in/foo.c:73:13: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k]]='\0';
^
/in/foo.c:78:10: error: 's {aka struct SqStack}' has no member named 'data'
s2[s1.data[s1.top]]='\0';s2[j]='\0';
^
/in/foo.c:78:18: error: 's {aka struct SqStack}' has no member named 'top'
s2[s1.data[s1.top]]='\0';s2[j]='\0';
^
/in/foo.c:79:5: warning: implicit declaration of function 'pop' [-Wimplicit-function-declaration]
pop(s1);
^~~
/in/foo.c:80:13: error: 's {aka struct SqStack}' has no member named 'top'
while(s0.top!=-1) pop(s0);
^
/in/foo.c:104:19: error: 's {aka struct SqStack}' has no member named 'top'
for(int k=0;k<s0.top;k++)
^
/in/foo.c:106:16: error: 's {aka struct SqStack}' has no member named 'data'
for(int l=s0.data[k];l<s0.data[k+1];l++)
^
/in/foo.c:106:29: error: 's {aka struct SqStack}' has no member named 'data'
for(int l=s0.data[k];l<s0.data[k+1];l++)
^
/in/foo.c:110:11: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')&(s2[s0.data[k+1]]-'0');
^
/in/foo.c:110:29: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')&(s2[s0.data[k+1]]-'0');
^
/in/foo.c:110:50: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')&(s2[s0.data[k+1]]-'0');
^
/in/foo.c:111:11: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]+='0';
^
/in/foo.c:113:11: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k]]='\0';
^
/in/foo.c:118:11: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
^
/in/foo.c:118:29: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
^
/in/foo.c:118:50: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
^
/in/foo.c:120:11: error: 's {aka struct SqStack}' has no member named 'data'
s2[s0.data[k]]='\0';
^