C程序做的图书馆管理系统.docxVIP

  • 3
  • 0
  • 约1.26万字
  • 约 25页
  • 2019-12-06 发布于江西
  • 举报
#includeiostream #includestring #includectime #includefstream const int i=1000; int m=0,_m=0; using namespace std; class library; /************************时间类*******************************/ class Time{ private: int year; int month; int Day; public: Time(){ int temp=time(0); int day1,day; year=1970+(temp-10*24*3600)/(3600*24*365); day=(temp-(year-1970)*(3600*24*365)-10*24*3600)/(3600*24)+1; if(0dayday=31) month=1,day1=1; if(31dayday=59) month=2,day1=31; if(59dayday=90) month=3,day1=59; if(90dayday=120) month=4,day1=90; if(120dayday=151) month=5,day1=120; if(151dayday=181) month=6,day1=151; if

文档评论(0)

1亿VIP精品文档

相关文档