how would you call member functions in a function

im trying to use a function in main that calls a specific object to perform its function, just i dont know how to get the object name into scope
Pass the object as an argument of the functiion.
i got a lot of arguments in the function does it matter where i ad it?
It is no matter. But in any case if you are going to call non-static class member function inside another function you shall pass an object to which the call will be applied.
Topic archived. No new replies allowed.