function returns

Can you point me towards a tutorial on using function returns?
Thank you.
Here is the tutorial on functions: http://www.cplusplus.com/doc/tutorial/functions/
Do you mean a function that returns a value of its type. etc
1
2
3
4
int Add(int numOne, int numTwo)
{
    return numOne + numTwo;
}
Yeah, I wanna know how to use the returned value.

Thanks Bazzy, thats exactly what I needed.
Last edited on
Topic archived. No new replies allowed.