Call A Function in one class from another class

Is it possible to call a function inside one class from another class? I have one class that holds a HashTable. It has a get function which returns a pointer to an object held inside the HashTable. I would like to call that get function from another class to get the pointer from the HashTable.
here is simple example of accessing data from another class.

http://cpp.sh/6xxo
Topic archived. No new replies allowed.