So I'm trying to do a simple program to learn more about C++, but I can't figure out what to do.
Design an object to represent a Person a. Include properties such firstName, lastName, b. Implement your Person object in C++ using a struct c. Write a function to print out the Person d. Test your functions to make sure they work
I tried making a struct cause I know more about them, but I don't know how I would implement all these together.
If anyone could show me how to do this or how to get started I would appreciate it.
Thanks!
Aucun commentaire:
Enregistrer un commentaire