>>399
>int red,green,blueとdouble brightnessをメンバとする構造体colorと、
struct color {
int red, green, blue;
double brightness;
};
>int x,yをメンバとする構造体coordinateを作成し、
struct coordinate {
int x, y;
};
>coordinate positionと
>color lightをメンバとする構造体dotinfoを定義せよ
struct dotinfo {
coordinate position;
color light;
};
もう>400の勉強しに逝ってしまったかな?