0_0_19085455_16777.c: In function 'main':
0_0_19085455_16777.c:10:5: error: expected expression before '/' token
//freopen("data.in","r",stdin);
^
0_0_19085455_16777.c:11:5: error: expected expression before '/' token
//freopen("data.out","w",stdout);
^
0_0_19085455_16777.c:12:5: error: unknown type name 'Elements'
Elements *pt1=(Elements *)malloc(sizeof(Elements)*num);
^
0_0_19085455_16777.c:12:20: error: 'Elements' undeclared (first use in this function)
Elements *pt1=(Elements *)malloc(sizeof(Elements)*num);
^
0_0_19085455_16777.c:12:20: note: each undeclared identifier is reported only once for each function it appears in
0_0_19085455_16777.c:12:30: error: expected expression before ')' token
Elements *pt1=(Elements *)malloc(sizeof(Elements)*num);
^
0_0_19085455_16777.c:13:15: error: 'pt2' undeclared (first use in this function)
Elements *pt2=(Elements *)malloc(sizeof(Elements)*num);
^
0_0_19085455_16777.c:13:30: error: expected expression before ')' token
Elements *pt2=(Elements *)malloc(sizeof(Elements)*num);
^
0_0_19085455_16777.c:14:5: error: expected expression before '/' token
//Elements pt2[num];
^
0_0_19085455_16777.c:24:13: error: expected expression before '/' token
//memset(pt2,0,sizeof(pt2));
^
0_0_19085455_16777.c:43:25: error: expected expression before '/' token
//pt2[i]=*(pt1+i+5);
^
|