1999-12-08から1日間の記事一覧

構造体の動的配列 (malloc)

PHP

明解C言語 入門編 > 12. 構造体 > 構造体の動的配列 (malloc) PHP $y["height"]) return 1; if ($x["height"] < $y["height"]) return -1; return 0; } function compare_weight($x, $y) { if ($x["weig…