Problems with an Array of Strings in a Class's Private area

My professor has an array of Stings (1 for each Month name) in the private area of his Class, but for some reason, he cant get the program to run with the Array in the Private of the Class.

When he moved the array outside of the private, it build successful. We still cant figure out what went wrong.

The error kept saying something about a "{" preceding

Is there a rule for dealing with Array of Strings in a class?

we were using Visual Studios. We had the #include <string> as well.
hello knighthonor,

how does the class looks like?
Topic archived. No new replies allowed.