I'm just learning C++, and I've been given a project to make a class Person with 6 different parts to it. Then, I have to make an array of 5 people initializing each part for each person.

I wrote the class, but I don't know how to initialize the array of people.

Do I first have to declare:

Person P1, P2, P3, P4, P5, P6; (with parameters)

and then how do I declare the array?
Do I have to write Person first again or do I make it a certain data type. And does the name of the array have to be Person or different from person?



Thanks for any help