摘要:
#include <iostream> using namespace std; class AHasPtr {public: AHasPtr(int *p, int i):ptr(p), val(i) {} int getVal() { return this->val; } int *getPt 阅读全文
posted @ 2019-06-05 09:47
西北逍遥
阅读(155)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; class CDemo {public: CDemo(int pa,char *cstr) { this->a = pa; this->str = new char[104]; strcpy(this->str,cst 阅读全文
posted @ 2019-06-05 08:53
西北逍遥
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号