|
|
|
|
|
|
|
|
|
|
|
|
|
3206, 1/161 |
|
Ѱ | |||||||
[C] C ̿. | |||||||
http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_programming&no=3055 []
Hit : 6340 Date : 2011/06/13 04:45
|
|||||||
profreez | realloc ϽŴ Ҵ ʱȭ ּ. man[ Ҵ ].use = 0; // ̰ɳ־ .. |
2011/06/13 | |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ѱ | profreez// ص ° ... Ǵ° 4° Է Ŀ ǵ帮 1, 2 ,3 ° ͱ ε ̰ ذ dz |
2011/06/14 | |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
prosthetics | ڵ忡 ִ Ű. <1 : realloc> http://blog.naver.com/neutrino37?Redirect=Log&logNo=110005927328 Ʈ ø realloc ڼ ֽϴ. ϸ, ȮҶ(realloc) ġ ٲٰ մϴ. , Ҵ ּҰ ּҶ ٸٴ... ->man=(Inform *)realloc( man, sizeof(Inform) * (size+=3) ); ->man realloc ȯ ּҷ ٲ. <2: Ű> Prototype : insert(Inform * man), ȣ(main) : insert(man); -> man Ű ּҰ insertԼ man ̵ ->insertԼ ص main man ٲ <3: > <1> Ѱó realloc ū ٲݴϴ. ִ freeɰ ˴ϴ. ( ¿.) insert man Ȯ ο ּҸ Ű ǁ. <2> main man free(Ƹ) ּҸ Ű ̰ insertԼ man Լ Ǹ鼭 ߵǰ. , main man -> ּ Ŵ inset man -> Ȯ ε ּ ִٰ Լ ϸ <4: ذ> Ű insert(Inform ** man) ֽð ȣκп insert(&man); insertԼ *man = ...realloc(...); <5: ǰ> ḮƮ ̿ϱ realloc , <3> freeѴٴ Դϴ. ڵ常 Ϻ 亯 帱 . Ǯڵ带 ֽø ڼ м ص帮... |
2011/06/14 | |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ѱ | prosthetics// Ϻ 亯̾. մϴ. Ȯغ InsertԼ Ƽ ̰ øſ. man mainԼ ̰ ƴ Ծ մϴ. ó ߴ ε ģ ḮƮ ˷༭ ḮƮ Ǯٰ ߿ ߴ ٽ Ǯôµ ̷ Ƴ. |
2011/06/14 | |
|
|
|
|
|