Quote Originally Posted by abakiz View Post
Ahh thanks,

Well how do I implement the Getter and Setter using a struct?

I've tried cout << = *mp->name;

But I just get lots of errors :-/
Your question on the surface really makes little sense. Typically a Set method just takes a value as an argument and assigns it to a member of a class or struct. A Get method just returns a member of a class or struct.

So, what are you really trying to do. Explain what you want to do, not how you want to do it.