/* ECP: FILEname=fig14_17.cpp */ /* 1*/ // Simple >>, just to allow compilation. /* 2*/ istream & /* 3*/ operator >> ( istream & Input, Date & TheDate ) /* 4*/ { /* 5*/ int M, D, Y; /* 6*/ Input >> M >> D >> Y; /* 7*/ TheDate = Date( Y, M, D ); /* 8*/ return Input; /* 9*/ }