很基本!很简单的问题~关于类 如何在MAIN函数中调用 类中的函数
很基本!很简单的问题~关于类 如何在MAIN函数中调用 类中的函数
日期:2017-12-16 14:36:14 人气:1
#include "stdio.h"
#include
using namespace std;
class Cdate
{
private:
int m_year,m_month,m_day;
public :
Cdate(int y,int m,int d)
{
m_year =y;
m_month=m;
m_day =d;
}
void settime ();
int getadd () ;
void