troubl with array and classes

this is for school and i have to create an array with five objects and assign 3 values to those objects, for example (1,10,11). and then print those values out.

im confused on how to do this. im not looking for the answer just some help. also it has to be within a class.
In what language (Im presuming c++?)

Try creating a class with an array inside of it and then a method that returns that array then you could write a loop to
cout << array[i]

All I can offer pretty simplistic to do..... Sorry
Topic archived. No new replies allowed.