?? date.h
字號:
#ifndef DATE_H_H
#define DATE_H_H
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
class Date
{
private:
int year;
int month;
int day;
public:
Date();
Date(int y,int m,int d);
Date(string sdate);
~Date();
Date(const Date& prim);
void SetDate(string sdate);
void SetDate(int y,int m,int d);
void ShowDate();
void NextDay();
string ToString();
string ToString(int type);
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -