Arrays in Classes

Hi I'm making a console Monopoly game in c++ and i want to declare an Array in the board class and use it in main
this Array is to hold countries name
how could i do that
What exactly do you want? You can call a member(your array for example) from the class using the . operator(myclass.array[]) if it was in public scope. see http://www.cplusplus.com/doc/ to know more about classes.
Topic archived. No new replies allowed.