Really simple question, can't seem to find an answer. How do I do anything with a return value from a function. For example, I want to check the value of the return value with an if statement, what is the name of that which I should be comparing?
Code:void something (blah, blah2)
{
...some code here...
return 5;
}
int main()
{
something (5, 7);
if ( ??? == 5)
{
...some code here...
}
}