0_0_21166338_10195.cpp: In function 'int comp(const void*, const void*)':
0_0_21166338_10195.cpp:17:7: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
if(p1->x!=p2->x)
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:17:14: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
if(p1->x!=p2->x)
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:18:14: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
return -(p1->x-p2->x);
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:18:20: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
return -(p1->x-p2->x);
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:19:12: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
else if(p1->y!=p2->y)
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:19:19: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
else if(p1->y!=p2->y)
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:20:12: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
return p1->y-p2->y;
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:20:18: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
return p1->y-p2->y;
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:22:19: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
return strcmp(p1->name,p2->name);
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp:22:28: error: invalid use of incomplete type 'struct comp(const void*, const void*)::c'
return strcmp(p1->name,p2->name);
^
0_0_21166338_10195.cpp:15:9: error: forward declaration of 'struct comp(const void*, const void*)::c'
struct c *p1=(struct c *)a;
^
0_0_21166338_10195.cpp: In function 'int main()':
0_0_21166338_10195.cpp:30:19: error: 'scan' was not declared in this scope
scan("%d%d",&n,&m);
^
0_0_21166338_10195.cpp:31:31: error: 'cscanf' was not declared in this scope
while(cscanf("%s",stu[j].name))
^
|