随笔分类 -  c++

摘要:在ubuntu安装gcc 编辑 test.c 完成后会出现一个可执行文件test,这就是编译好的文件,直接./test 就可以执行了! 阅读全文
posted @ 2017-04-27 00:19 juandx 阅读(661) 评论(0) 推荐(0) 编辑
摘要:C++虚函数表解析(转) ——写的真不错,忍不住转了http://blog.csdn.net/hairetz/article/details/4137000浅谈C++多态性http://blog.csdn.net/hackbuteer1/article/details/7475622C++抽象类ht... 阅读全文
posted @ 2014-11-26 01:05 juandx 阅读(950) 评论(0) 推荐(0) 编辑
摘要:#include #include using namespace std;class A{public: A() { puts("this is A!"); }};class B : A{public: B() { puts("this i... 阅读全文
posted @ 2014-11-26 01:04 juandx 阅读(255) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示