2 registered members (NnamueN, 1 invisible),
1,489
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Array as parametres
#411058
11/12/12 17:22
11/12/12 17:22
|
Joined: Aug 2011
Posts: 58 Colombia/Bogotá
wdakfenixx
OP
Junior Member
|
OP
Junior Member
Joined: Aug 2011
Posts: 58
Colombia/Bogotá
|
The question is simple, i know that in C++ is possible to create a function and give it an array as a parameter, is this possible to do the same with lite-C functions?Thanks in advance
CAUTION :The content above could blow your mind
|
|
|
Re: Array as parametres
[Re: wdakfenixx]
#411059
11/12/12 17:28
11/12/12 17:28
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
Yeah sure. You can use a pointer as the parameter type, for example var* for a var array.
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Array as parametres
[Re: Uhrwerk]
#411066
11/12/12 19:34
11/12/12 19:34
|
Joined: Aug 2011
Posts: 58 Colombia/Bogotá
wdakfenixx
OP
Junior Member
|
OP
Junior Member
Joined: Aug 2011
Posts: 58
Colombia/Bogotá
|
Thanks!, that will be very usefull, just another thing, how do you intialize a bidimensional array?
CAUTION :The content above could blow your mind
|
|
|
Re: Array as parametres
[Re: Uhrwerk]
#411078
11/12/12 21:32
11/12/12 21:32
|
Joined: Aug 2011
Posts: 58 Colombia/Bogotá
wdakfenixx
OP
Junior Member
|
OP
Junior Member
Joined: Aug 2011
Posts: 58
Colombia/Bogotá
|
uh, ok thanks, i think i can work with that
CAUTION :The content above could blow your mind
|
|
|
Re: Array as parametres
[Re: wdakfenixx]
#411481
11/17/12 06:37
11/17/12 06:37
|
Joined: Nov 2012
Posts: 3
bravemmolive
Guest
|
Guest
Joined: Nov 2012
Posts: 3
|
Body feels not good, Diablo III itemsthen go to the hospital for examination, the doctor asked X-rayed, X-ray, MD wrote diagnosis, and then I took the diagnosis and film to the doctor. Surprisingly, the doctors took X-ray diagnosis began shaking his head, his mouth Gee, I was immediately pumped wow cool, want to ask the doctor left how long results that doctors say is: "Oh, now young doctors, the handwriting is really bad. " Cheap PlanetSide 2 Gold
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|