First page Back Continue Last page Graphics
Derived Class Copy Constructor
- baseDMA::baseDMA(const baseDMA & rs)
- {
- label = new char[strlen(rs.label) + 1];
- strcpy(label, rs.label);
- rating = rs.rating;
- }
- hasDMA::hasDMA(const hasDMA & hs):baseDMA(hs)
- {
- style = new char[strlen(hs.style) + 1];
- strcpy(style, hs.style);
- }