[cpp] view plaincopy
#include <string>
#include "date.h"
#include "address.h"
class Person{
public:
Person(const std::string &name, const Data &birthday, const Address &addr);
std::string name() const;
std::string birthDate() const;
std::string address() const;
//...
private:
std::string theName; //<span style="color:#33CC00;">实现细目</span>
Date theBirthDate; //<span style="color:#33CC00;">实现细目</span>
测试颜色
最新推荐文章于 2024-06-23 09:34:24 发布