the array.length() of C++
int num_elements = sizeof things / sizeof (short);
this is a use of the function "sizeof", in use of this function we can stop of crossing the border of the array.
this is a use of the function "sizeof", in use of this function we can stop of crossing the border of the array.
浙公网安备 33010602011771号