#include #include #include "date.h" using namespace std; int main() { const size_t n = 3; const date a[n]; //Call the default constructor n times. for (const date *p = a; p < a + n; ++p) { p->print(); cout << "\n"; } return EXIT_SUCCESS; }