struct Rec {
int type; /* 0なら四角、1なら丸*/
int yoko; /* 幅*/
int tate; /* 高さ*/
};

struct Cir {
int type; /* 0なら四角、1なら丸*/
int r; /* 半径*/
};

struct Zukei {
int type; /* 0なら四角、1なら丸*/
};


void RecCreate(void* hoge){
(Rec*)hoge->type=0;
(Rec*)hoge->yoko=10;
(Rec*)hoge->tate=5;
}

void CirCreate(void* hoge){
(Rec*)hoge->type=0;
(Rec*)hoge->r=7;
}