0

I want to place an object into an array so that when i call the array my stats, inventory objects will show up is it possible ?

here is my code:

```
void displayStats()
{
const int SIZE = 11;
string stats[SIZE];
status Status = {100,20};
cout << "******Stats******\n";
stats[0] = "Health\n";
stats[1] = "Strength\n";
stats[2] = "Empty\n";
stats[3] = "Empty\n";
stats[4] = "Empty\n";
stats[5] = "Empty\n";
stats[6] = "Empty\n";
stats[7] = "Empty\n";
stats[8] = "Empty\n";
stats[9] = "Empty\n";
stats[10] = "To continue press Enter.\n";
cout << "\n" <<endl;
for (int s = 0; s < SIZE; ++s) {
cout << stats[s];
}
getchar();
getchar();
}
```