04737C++程序设计2017年04月份历年真题1-问题详解.docVIP

  • 2
  • 0
  • 约1.04千字
  • 约 14页
  • 2019-08-21 发布于安徽
  • 举报

04737C++程序设计2017年04月份历年真题1-问题详解.doc

实用文档 文案大全 switch语句,找到第一个满足的case之后,如果没有break,会继续执行后面的case语句. double operator()(double x,double y) const; switch语句,找到第一个满足的case之后,如果没有break,会继续执行后面的case语句. double operator()(double x,double y) const; #include iostream #include string using namespace std; class Birthday{ public: Birthday(int y,int m,int d); Show(); private: int year; int month; int day; }; Birthday::Birthday(int y,int m,int d){ year = y; month = m; day = d; } Birthday::Show(){ coutyear-month-dayendl; } class Person{ public: Person(string n,string s,int y,int m,int d); ~Person( ); Show(); private: string name; strin

文档评论(0)

1亿VIP精品文档

相关文档