⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datetime.h

📁 Since the field of object oriented programming is probably new to you, you will find that there is a
💻 H
字号:
                                // Chapter 9 - Program 4 - DATETIME.H
#ifndef DATETIME_H
#define DATETIME_H

#include "newdate.h"
#include "time.h"

class datetime : public new_date, public time_of_day 
{

public:

   datetime(void) { };          // Default to todays date and time
   datetime(int M, int D, int Y, int H, int Mn, int S) :
                    new_date(),              // Member initializer
                    time_of_day(H, Mn, S)    // Member initializer
                    { set_date(M, D, Y); };  // Constructor body

};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -