home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_12
/
9n12114a
< prev
next >
Wrap
Text File
|
1991-10-21
|
268b
|
18 lines
/* LISTING 4 - CIRCLE.C */
#include "obj.h"
int circle_getcolor(CIRCLE *pc)
{
return pc->color;
}
int circle_setcolor(CIRCLE *pc, int color)
{
pc->color = color;
}
CIRCLE_ACTIONS cact =
{ circle_getcolor, circle_setcolor };