How do i get it to cout what the pointer points to and not the pointer address?
int main()
{
Item* items[10];
items[0] = new Item(5);
items[1] = new Item(3);
items[2] = new Item(4);
items[3] = new Item(9);
items[4] = new Item(2);
items[5] = new Item(0);
items[6] = new Item(6);
items[7] = new Item(1);
items[8] = new Item(8);
items[9] = new Item(7);
int i;
for (i=0;i<9;i++)
cout << items*[i];
}