class 优快云
{
public:
优快云{};
~优快云{};
private:
unsigned int year;
unsinged int month;
unsinged int day;
what();
}
本文介绍了一个简单的优快云类的设计实现,该类包含了年、月、日等私有成员变量,并提供了构造函数和析构函数。文章适合初学者了解C++中类的基本结构。
class 优快云
{
public:
优快云{};
~优快云{};
private:
unsigned int year;
unsinged int month;
unsinged int day;
what();
}
5729

被折叠的 条评论
为什么被折叠?