Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Daprogramireba C GPI PART 2

Daprogramireba C GPI PART 2

Ratings: (0)|Views: 32|Likes:
Published by Temo

More info:

Published by: Temo on Jan 26, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/08/2012

pdf

text

original

 
1
saqarTvelos teqnikuri universitetisaqarTvelos teqnikuri universitetisaqarTvelos teqnikuri universitetisaqarTvelos teqnikuri universitetisaqarTvelos teqnikuri universiteti
informatikisa da marTvis sistemebisinformatikisa da marTvis sistemebisinformatikisa da marTvis sistemebisinformatikisa da marTvis sistemebisinformatikisa da marTvis sistemebisinstitutiinstitutiinstitutiinstitutiinstituti
gia surgulaZegia surgulaZegia surgulaZegia surgulaZegia surgulaZe
daprogramebis safuZvlebidaprogramebis safuZvlebidaprogramebis safuZvlebidaprogramebis safuZvlebidaprogramebis safuZvlebi
(((((
 
C-
enis bazaze,enis bazaze,enis bazaze,enis bazaze,enis bazaze,
naw.IInaw.IInaw.IInaw.IInaw.II
)))))
damtkicebuliadamtkicebuliadamtkicebuliadamtkicebuliadamtkicebuliadamxmaredamxmaredamxmaredamxmaredamxmaresaxelmZRvanelod stu-ssaxelmZRvanelod stu-ssaxelmZRvanelod stu-ssaxelmZRvanelod stu-ssaxelmZRvanelod stu-ssaswavlo-meTodurisaswavlo-meTodurisaswavlo-meTodurisaswavlo-meTodurisaswavlo-meTodurisabWos miersabWos miersabWos miersabWos miersabWos mier
Tbilisi 2005Tbilisi 2005Tbilisi 2005Tbilisi 2005Tbilisi 2005
 
2
II Tavi.II Tavi.II Tavi.II Tavi.II Tavi.
C-
enis rTuli konstruqciulienis rTuli konstruqciulienis rTuli konstruqciulienis rTuli konstruqciulienis rTuli konstruqciulielementebielementebielementebielementebielementebi
1. masivebi2. struqturebi3. failebi4. masivebis, struqturebisa da failebiserToblivi gamoyeneba4.1. mimdevrobiTi mimarTvis failebis ageba4.2. pirdapiri mimarTvis failebis ageba5. xelfasis angariSis programa6. monacemTa failis (nakadis) printerzebeWdvis programa
7.
kiTxvebi da savarjiSoebi
 
3
II Tavi.II Tavi.II Tavi.II Tavi.II Tavi.
C-
enis rTuli konstruqciuli elementebienis rTuli konstruqciuli elementebienis rTuli konstruqciuli elementebienis rTuli konstruqciuli elementebienis rTuli konstruqciuli elementebi1. masivebi1. masivebi1. masivebi1. masivebi1. masivebi
mesame Tavis dasawyisSi Cven mokled vaxseneT masivebi dastruqturebi,rogorc monacemTa kompleqsuri tipebismagaliTebi. axla ki detalurad ganvixiloT isini, vinaidanmaT daprogramebis Teoriasa da praqtikaSi udidesi roliakisria.masivimasivimasivimasivimasivi erTgvarovani cvladebis mniSvnelobaTa erTobliobaa,romelsac aqvs unikaluri saxeli. masivi SeiZleba iyos erT,or, sam da met ganzomilebiani. misi yvela elementi erTitipisaa. masivis elementi SeiZleba iyos isev masivi.magaliTad, veqtori aris erTganzomilebiani masivi. igiSeiZleba iyos mTelricxva (
int Vect[100]
),simbolur-striqonuli(
char Name[20]
) an namdvilricxva (
float Money[5] )
.organzomilebiania matrica
int Mat[4][3],
sadac 4-striqonebis,3-svetebis raodenobaa. igi gamoisaxeba ase:matricis zogadi elementia
m[i][j],
sadac
i=1,m; j=1,n.
pirvelielementisTvis yovelTvis
i=0, j=0
. masivis elementebzemniSvnelobebis miniWeba SesaZlebelia mis gamocxadebisTanave.mag.:
int
 
days
[12]={31,28,31,30,31,30,31,31,30,31};rogorc vxedavT, aq aklia ori bolo mniSvneloba. aseTSemTxvevaSi Sesabamis elementebs avtomaturad eniWebaT 0-ovani mniSvneloba. anu,
days
[0]
=31, . . . , days
[10]=0,
days
[11]=0.Tu mocemulia
int days[]={1,3,7,9,8}
, maSin elementTa raodenobasavtomaturad daiTvlis kompilatori (am SemTxvevaSi gveqneba
days
[5]).

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->