**just realized my topic title makes no sense.. apologize ahead of time.
I'm having a hard time with this code.. plz help me out..
i know the delete isn't working. i was hoping someone could shine some light as to whats wrong.
using namespace std;
this->name = "my_name";
this->address = "my_address";
cout << "Deleting the base!!!" << endl;
delete this->name; delete this->address;
class amountnum : virtual public NameAdd
this->amount = "a_amount";
cout << "Deleting the osap!!!" << endl;
NameAdd * formlist;
int limit = 1;
formlist[limit] = new amountnum();
cout << "success!" <<endl;