0_0_13189701_24408.c: In function 'main':
0_0_13189701_24408.c:30:22: error: request for member 'l' in something not a structure or union
scanf("%d %d", &P.l, &P.w);
^
0_0_13189701_24408.c:30:28: error: request for member 'w' in something not a structure or union
scanf("%d %d", &P.l, &P.w);
^
0_0_13189701_24408.c:38:23: error: request for member 'l' in something not a structure or union
printf("%d %d\n", P.l, P.w);
^
0_0_13189701_24408.c:38:28: error: request for member 'w' in something not a structure or union
printf("%d %d\n", P.l, P.w);
^
0_0_13189701_24408.c:45:10: error: request for member 'check' in something not a structure or union
if (P.check == 0)
^
0_0_13189701_24408.c:47:11: error: request for member 'l' in something not a structure or union
l = P.l;
^
0_0_13189701_24408.c:48:11: error: request for member 'w' in something not a structure or union
w = P.w;
^
0_0_13189701_24408.c:49:7: error: request for member 'check' in something not a structure or union
P.check = 1;
^
0_0_13189701_24408.c:59:10: error: request for member 'l' in something not a structure or union
if (P.l >= l && P.w >= w && P.check == 0)
^
0_0_13189701_24408.c:59:22: error: request for member 'w' in something not a structure or union
if (P.l >= l && P.w >= w && P.check == 0)
^
0_0_13189701_24408.c:59:34: error: request for member 'check' in something not a structure or union
if (P.l >= l && P.w >= w && P.check == 0)
^
0_0_13189701_24408.c:61:7: error: request for member 'check' in something not a structure or union
P.check = 1;
^
0_0_13189701_24408.c: In function 'sort':
0_0_13189701_24408.c:97:21: error: 'n' undeclared (first use in this function)
for (i = 0; i < n; i++)
^
0_0_13189701_24408.c:97:21: note: each undeclared identifier is reported only once for each function it appears in
|