Friday, July 31, 2009

Ger c++: do functoions return entire array directly.if yes what is the proto type?

a function can not return an array directly. you can return a pointer to an array, or give a function a pointer to an array, and the function can modify it, then no need to return it.


No comments:

Post a Comment