Say I have a line in my code something like the following (NOTE: Point is
__value class System::Drawing ::Point):
Point point[] = new Point[3] ;
How do I now 'ask' 'point' how many elements it has (in this case the answer
is 3)?
This does NOT work:
int element_count = sizeof(point) ; // error C3608: can't apply sizeof to a
__gc array
Thanks in advance!!! : )
[==P ==]
__value class System::Drawing ::Point):
Point point[] = new Point[3] ;
How do I now 'ask' 'point' how many elements it has (in this case the answer
is 3)?
This does NOT work:
int element_count = sizeof(point) ; // error C3608: can't apply sizeof to a
__gc array
Thanks in advance!!! : )
[==P ==]
Comment