im trying to show what is stored in arrays, basically to make sure my program is working fine, i have got it to print which element in the array it is, but how do u access the array and show what value is stored in it. my code is basically
for(int i = 0; i < 16; i++)
{
for(int j = 0; j < 60; j++)
{
cout << endl << "string " << i << "weights " << j;
}
}
i know this will only print the value of whatever j is. not what is stored in element j.
any help will be greatly appreciated?