how would you call member functions in a function

devonrevenge (668)
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
vlad from moscow (3105)
Pass the object as an argument of the functiion.
devonrevenge (668)
i got a lot of arguments in the function does it matter where i ad it?
vlad from moscow (3105)
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.
Registered users can post here. Sign in or register to post.