f1302.cpp
Upload User: puke2000
Upload Date: 2022-07-25
Package Size: 912k
Code Size: 0k
Category:

CSharp

Development Platform:

Visual C++

  1. //=====================================
  2. // f1302.cpp
  3. // Using Class DateMid as Interface
  4. //=====================================
  5. #include"datemid.h"
  6. #include<iostream>
  7. //-------------------------------------
  8. int main(){
  9.   DateMid d(2005,1,6), e(732006);
  10.   std::cout<<d;
  11.   std::cout<<++d<<e;
  12. }//====================================
  13.