- 3


_________________________________________________________________

. . 4-4 .

_________________________________________________________________

. 4-4. .

/*

CGA/EGA 4

*/

#include "dos.h"

#include "stdio.h"

#include "math.h"

void mode(), line(), mempoint(), palette();

void rotate_point(), rotate_object(), display_object();

/* house */

double house[][4] =

/* startx, starty, endx, endy */

120, 120, 120, 200, /* */

120, 200, 80, 200,

80, 120, 80, 200,

80, 120, 120, 120,

60, 160, 80, 120, /* a*/

60, 160, 80, 200,

120, 155, 100, 155, /* */

100, 155, 100, 165,

100, 165, 120, 165,

90, 130, 100, 130, /* */

90, 130, 90, 140,

100, 130, 100, 140,