How can I return multiple values from a function?
Either pass pointers to several locations which the function can fill in, or have the function return a structure containing the desired values, or (in a pinch) consider global variables. See also questions 2.7, 4.8, and 7.5.
Read sequentially: prev next up top
This page by Steve Summit // Copyright 1995 // mail feedback