string _surname);
virtual ~Employee();
};
class Programmer: public Employee
{
public:
Programmer(/*...*/);
virtual ~Programmer();};
void destroy_container(Empolyee **container, int size)
{
for(int i=0; i < size; ++i)
{
delete container[i];
container[i] = 0;
}
}