옵션 |
|
struct Point{
int x;
int y;
}
struct Block1{
struct Point point;
int type;
int direction;
}
//위 구조체를 선언하면
struct Block1 block1[2][4][4].point = { {{ 0,0 },{ 0,1 },{ 0,2 },{ 0,3 }}, {{0,0}, {1,0}, {2,0}, {3,0}} };