~$ 存档

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年1月16日

摘要: 1 // Note:Your choice is C++ IDE #include <iostream> using namespace std; class sharpe //抽象基 { public: virtual void area()const=0;//纯虚函数 }; class rect 阅读全文
posted @ 2017-01-16 20:35 LuoTian 阅读(186) 评论(0) 推荐(0)

摘要: 一个比较好的虚函数例子 阅读全文
posted @ 2017-01-16 20:34 LuoTian 阅读(293) 评论(0) 推荐(0)

摘要: 概要 /*示例程序*/ #include <iostream> namespace variable //命名空间variable { int x=10; namespace function //内部嵌套命名空间function { void show(); } } void variable:: 阅读全文
posted @ 2017-01-16 08:40 LuoTian 阅读(251) 评论(0) 推荐(0)

摘要: 1 #include <iostream> #include <iomanip> using namespace std; int main() { const double a=2.3434555667788; cout<<setprecision(10)<<a<<endl; return 0; 阅读全文
posted @ 2017-01-16 03:13 LuoTian 阅读(118) 评论(0) 推荐(0)

摘要: #答案:http://www.cnblogs.com/tinaluo/articles/6288355.html 阅读全文
posted @ 2017-01-16 02:34 LuoTian 阅读(163) 评论(0) 推荐(0)