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

ポインタのソート

PHP

明解C言語 入門編 > 12. 構造体 > ポインタのソート PHP $y["height"]) return 1; if ($x["height"] < $y["height"]) return -1; return 0; } function compare_weight($x, $y) { if ($x["weight"] > $y…