01.03.2013 Views

g. surgulaZe, g. janeliZe, i. xuciSvili

g. surgulaZe, g. janeliZe, i. xuciSvili

g. surgulaZe, g. janeliZe, i. xuciSvili

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

struct {<br />

/* saerTo informacia */<br />

char name[25];<br />

int age;<br />

char sex;<br />

/* aqtiuri komponentis Wde */<br />

marital_status ms;<br />

/* cvladi nawili */<br />

union {<br />

/* ucolo */<br />

/* komponentebi ar aris */<br />

/* coliani */<br />

struct {<br />

}<br />

char marriage_date[8];<br />

char spouse_name[25];<br />

int no_children;<br />

/* ganqorwinebuli */<br />

char date_divorced[8];<br />

} marital_info;<br />

} health_record;<br />

sadac marital_status tipi, e.i. ms aqtiuri komponentis Wdis<br />

tipi aRwerilia rogorc<br />

typedef enum {SINGL,MARRIED, DIVORCED}<br />

marital_status;<br />

qvemoT moyvanilia cvladi struqturis komponentebze mimarTvis<br />

ramodenime magaliTi:<br />

health_record.name<br />

health_record.ms<br />

health_record.marital_info.marriage_date<br />

133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!