2007-09-01から1ヶ月間の記事一覧

/

#include #include typedef struct base { unsigned int ui; long double ld; } BASE; typedef BASE *pBASE;unsigned int rows = 3, columns = 5;void de_allocate(pBASE*);int main(void) { pBASE *matrix; unsigned int i, j; /* ステップ 1: 行を設定 */ …

構造体配列の動的確保

/* 構造体の動的配列の確保