Yes it's possible. You're already doing it for firstname and lastname. From what you've got it seems like you already know what to do. Maybe if you could post the code you tried which didn't do what ...
In Part 1 this month, we will explore object-oriented principles to see if they are supported by OOC. I will also discuss how to create the C++ Class construct, which lays the groundwork for ...
If you're not familiar with object-oriented programming, some of the concepts can be hard to understand, especially if you're a longtime procedural language programmer. Follow along as we take a look ...