General concepts OP should look in to: OOP in C++, pointers, arrays.

What Artifcial said might be the best answer though. I cannot for the life of me comprehend what you're saying lol.

Edit: 2k posts. Says I'm "elite" now. Don't I feel cool.