s*******e 发帖数: 664 | 1 ☆─────────────────────────────────────☆
merriam (爱我所爱,珍惜拥有!) 于 (Sun Jan 3 16:02:31 2010, 美东) 提到:
what the correct int * GetSomeIDs() should be like? Thanks
30 int * someIDs, theFirst, *r;
110 someIDs =GetSomeIDs(); /* defined below */
111 theFirst = someIDs [0];
112 r= ReorderIDs(someIDs);
113-150 /* we want to use ‘theFirst’ and ‘r’ here*/
499 /*-------- GetSomeIDs-----*/
500 int * GetSomeIDs()
501 {
502 int ids[8];
503-550 /* The ids are defined |
|