08 2016 档案

摘要:1 #include 2 using namespace std; 3 4 template 5 class Vector 6 { 7 private: 8 int theSize; //实际数据大小 9 int theCapacity; //实际容器... 阅读全文
posted @ 2016-08-31 22:49 douzujun 阅读(1043) 评论(0) 推荐(0) 编辑
摘要:%第一列为 size of House(feet^2),第二列为 number of bedroom,第三列为 price of House 1 2104,3,399900 2 1600,3,329900 3 2400,3,369000 4 1416,2,232000 5 3000,4,539900 6 1985,4,299900 7 1534,3,314900 8 1427,... 阅读全文
posted @ 2016-08-28 19:17 douzujun 阅读(1039) 评论(0) 推荐(1) 编辑
摘要:源代码链接: http://pan.baidu.com/s/1pKA5Vcv 密码: ib2x 注:SVG格式图片特点: 1. 文件小 2. 图像中文字独立于图像, 可以编辑,可搜索. 3.没有字体限制 4.可以任意缩放而不破坏图像清晰度和细节 下面实现一个SVG图片浏览器. 显示效果如图(放大超过 阅读全文
posted @ 2016-08-21 10:58 douzujun 阅读(2488) 评论(0) 推荐(0) 编辑
摘要:代码下载链接: http://pan.baidu.com/s/1hsc41Ek 密码: 5hdg 显示效果如下: 代码附有详细注释(代码如下) 阅读全文
posted @ 2016-08-20 18:00 douzujun 阅读(8969) 评论(0) 推荐(1) 编辑
摘要:这里有一篇关于:istringstream, ostringstream, stringstream的文章,感觉不错. http://www.cnblogs.com/gamesky/archive/2013/01/09/2852356.html 阅读全文
posted @ 2016-08-18 15:49 douzujun 阅读(256) 评论(0) 推荐(0) 编辑
摘要:如图,将海拔按高矮排序好(先排序好,比较容易计算已经淹没地区的水量),由于是水往地处流,如果水量如图,淹没区域如图中阴影地区。 阅读全文
posted @ 2016-08-15 11:49 douzujun 阅读(274) 评论(0) 推荐(0) 编辑
摘要:这几天在虚拟机vmware上部署centos系统,想通过内部联网用yum命令安装必需的软件,但是一直不能静态地址联网,今天终于找到一个方法centos内部设置IP,对外联网。设置过程如下: 1、首先是网络适配器设置为NAT; 2、然后是IP设置,修改/etc/sysconfig/network-scripts/ifcfg-eth0的内容为: DEVICE=eth0 TYPE=Ethernet O... 阅读全文
posted @ 2016-08-08 21:21 douzujun 阅读(21430) 评论(0) 推荐(0) 编辑

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