g. surgulaZe, g. janeliZe, i. xuciSvili
g. surgulaZe, g. janeliZe, i. xuciSvili
g. surgulaZe, g. janeliZe, i. xuciSvili
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
2.9. mimTiTeblebi da struqturebi<br />
ganvixiloT student struqturis Wde, romlis aRwerac zemoT<br />
moyvanili iyo, rogorc:<br />
struct student {<br />
}<br />
char name[25];<br />
int id, age;<br />
char sex;<br />
new_student mimTiTebeli gansazRvrulia rogorc:<br />
struct student *new_student;<br />
davuSvaT, rom mexsiereba gamoyofilia iseTi saxiT, rom<br />
new_student miuTiTebdes student obieqtze, maSin am obieqtis<br />
komponentebze SeiZleba mimarTva Semdegi saxiT:<br />
(*new_student).name<br />
(*new_student).id<br />
(*new_student).age<br />
(*new_student).sex<br />
ramdenadac mimTiTeblebi xSirad gamoiyenebian struqturebze<br />
misaTiTeblad, C enaSi aseTi struqturebis komponentebze<br />
mimarTvisaTvis Semotanilia operatori – marjvniv mimarTuli isari<br />
_>. magaliTad zemoTmoyvanil struqturis komponentebze mimarTva<br />
SeiZleba Caiweros _> operatoriT, Semdegnairad:<br />
new_student->name<br />
new_student->id<br />
new_student->age<br />
new_student->sex<br />
2.10. struqturebis masivi<br />
struqturebis masivis aRweris procesi masivis nebismieri sxva tipis<br />
aRweris analogiuria:<br />
struct book libry[MAXBKS];<br />
134