2004-04-02から1日間の記事一覧
kp氏に指摘頂いたので、2004.03.30のソースをmalloc/freeでの実装に書き換えてみた。有難うございます。 #include #include long expand(long array[], int dim) { int i, j, k, l; long value = 0; long *subarray; if(dim malloc( (dim - 1) * (dim - 1) *…
kp氏に指摘頂いたので、2004.03.30のソースをmalloc/freeでの実装に書き換えてみた。有難うございます。 #include #include long expand(long array[], int dim) { int i, j, k, l; long value = 0; long *subarray; if(dim malloc( (dim - 1) * (dim - 1) *…