摘要: 1 #include <iostream> 2 using namespace std; 3 class A { 4 public: 5 static void show(A *mythis) {//mythis是自己模拟this指针,做了编译器做的事情,本来静态方法不能访问非静态,原因是静态没有自 阅读全文
posted @ 2017-06-02 12:28 小不懂装懂 阅读(125) 评论(0) 推荐(0) 编辑