Yup, PCMPr. is correct. If you want to return two ints, you'll need to create a struct with at least two of those ints, and return the name of the struct, which is the same as returning a pointer to that struct.
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
Posted: Thu May 27, 2004 8:09 am
Or you can use pointers as a parameter in the function. Many times this is more effecient than passing and returning structures.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum