Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.55K
~396 People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for TJW

tricky but efficient [CODE] class myClassWithArrayMember { private: double _something[3]; public: void setValue(double sth[3]) { _something[0] = sth[0]; _something[1] = sth[1]; _something[2] = sth[2]; }; //and now the member function to get it out: const double* getValue() const {return _something;}; } [/CODE] then one will be able to use: [CODE] …

Member Avatar for espar
0
396

The End.