#ifndef D_H // Fichier Dreduit.h #define D_H #include using namespace std; class D { public : D(int n = 10) : _array(new int[n]), _n(n) { cout << "D" << endl; } virtual ~D(void) { delete [] _array; cout << "~D" << endl; } private: int* _array; int _n; }; #endif // D H