摘要: 假设Client的定义如下class Client {......public: virtual bool GetData(std::string& data);......};我们只需要重写Getdata的方法,并且当参数data被传进来时,我们可以返回特定的值。这一套方法,google已经提供... 阅读全文
posted @ 2015-05-15 11:15 simle、Mars 阅读(4346) 评论(0) 推荐(0) 编辑