Hi how are you doing
Last edited on
Last edited on
So just like this?
int reset =1;
do {
cin.ignore();
cout << " Your weapons are: \n";
for (int i = 0; i < inventory.size(); ++i)
{
cout << "\t" << inventory[i] << endl;
}
Yes, that looks like it should work.