Need help with functions!

So i have two functions like:


int function1(int parameter1){

return int random stuff;
}

int function2 (int function1){

return int blah blah;
}

So i need the return value of the first function as the parameter on the second
and i just cant figure out how
int function2 (int ){

return int blah blah;
}

function2( function1( SomeIntArgument ) );
thanks vlad got it working
Topic archived. No new replies allowed.