Chinaunix首页 | 论坛 | 博客
  • 博客访问: 310486
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间:2011-11-29 20:41:05

#include <iostream>#include <string>using namespace std; class Item_base {public:       Item_base(string& book,double f):isbn(book),price(f) {}       string book()       {.........【阅读全文】

阅读(204) | 评论(0) | 转发(0)

发布时间:2011-11-29 10:32:30

Oracle中汉字的乱码问题ZDNet软件频道 时间:2007-10-06 作者:中国IT实验室 | 中国IT实验室 我要评论()本文关键词:开发 数据库 Oracle    在国内外大中型数据库管理系统中,把ORACLE作为数据库管理平台的用户比较多。ORACLE 不论是数据库管理能力还是安全性都是无可非议的,但是,它在汉 字信息.........【阅读全文】

阅读(565) | 评论(0) | 转发(0)

发布时间:2011-11-28 20:02:18

#include <iostream>#include <functional>#include <algorithm>#include <vector>using namespace std; int main(){    plus<int> add_int;     int sum=add_int(3,5);    cout<<"add_int(3,5)="<<sum<<endl;        int a[].........【阅读全文】

阅读(247) | 评论(0) | 转发(0)

发布时间:2011-11-28 13:06:42

Python  and  django(四)前面的内容:python and Django(一)   准备工作python and Django(二)   走马观花识python  python and Django(三)   下马看花赏python-python中的对象  从这篇起开始详细介.........【阅读全文】

阅读(250) | 评论(0) | 转发(0)

发布时间:2011-11-28 13:04:51

今天写程序的时候碰到了一个问题关于如何控制浮点数只显示小数点后两位,正常的想法是用round函数,例如 round(a, 2),但是在面对下面的问题时候round就不太好用了 >>> a=13.949999999999999>>> round(a, 2)13.949999999999999  上网查了资料,有网友提供了一种.........【阅读全文】

阅读(631) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册