initial checkin from subversion

This commit is contained in:
Tretter
2017-02-07 20:03:49 +00:00
commit ed54469421
108 changed files with 1999 additions and 0 deletions

30
struct2.c Normal file
View File

@@ -0,0 +1,30 @@
#include <stdio.h>
struct a
{
int a1;
} ;
struct b
{
int b1;
struct a b2[1000];
} ;
int main()
{
struct b sb;
sb.b1=1;
sb.b2[0].a1=2;
sb.b2[1].a1=3;
sb.b2[2].a1=4;
sb.b2[3].a1=5;
printf("+%d :\n",sb.b1);
printf(" -%d:\n",sb.b2[0].a1);
printf(" -%d:\n",sb.b2[1].a1);
printf(" -%d:\n",sb.b2[2].a1);
printf(" -%d:\n",sb.b2[3].a1);
return 0;
}