Results 1 to 3 of 3
Thread: C++ ,
Hybrid View
-
23rd August 2013 11:17 #1
C++ ,
.
:
?Code:#define MY_ARR_SIZE 8 typedef struct { unsigned short MyIntData[MY_ARR_SIZE]; double MyDoubleData[MY_ARR_SIZE]; } SampleStruct; void DoSomeStuf(double * data[MY_ARR_SIZE]) { //Do s'mting } void CallTheDoSomeStuff(SampleStruct * SS) { DoSomeStuf(SS->MyDoubleData); }ASRock B550M Pro 4; Ryzen R5 3600; 2x16 GiB G.SKILL Aegis 3200; 1TB Samsung QVO 960 + 3TB Seagate IronWolf; Zalman Z1
-
23rd August 2013 11:28 #2
, DoSomeStuff "double * data[]", " double". - "double data[]", "double* data". , "" ( ). .. "double data[MY_ARR_SIZE]" - " double, ". .. MY_ARR_SIZE . , 42 - , .
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
23rd August 2013 11:31 #3
, ( char * ) ...
.ASRock B550M Pro 4; Ryzen R5 3600; 2x16 GiB G.SKILL Aegis 3200; 1TB Samsung QVO 960 + 3TB Seagate IronWolf; Zalman Z1




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in