so in CCC.h file I have
public:
// Constructor definition. As specified, it takes two arguments,
// one for the tax and and tip rate
RestaurantCheck(double taxRate, double tipRate);
~RestaurantCheck(); //destructor
so in CCC.cpp file I have
//destructor
RestaurantCheck::~RestaurantCheck(){
delete taxRate;
}
This doesn't work, what should I do?