摘要: #include <iostream> class A{ public: void f(); private: void g(); }; int main() { A a; return 0; } 只要你不使用声明的函数,完全没有任何问题。 如果使用了,链接会出错。 阅读全文
posted @ 2018-08-24 16:45 newbird2017 阅读(593) 评论(0) 推荐(0) 编辑