2010-10-19から1日間の記事一覧
typedef struct image_t { int width; int height; char *px; } image_t; int get_image_size(image_t *img) { return img->width * img->height; } int init_image(image_t *img, int width, int height) { img->width = width; img->height = height; img-…