Chinaunix首页 | 论坛 | 博客
  • 博客访问: 227120
  • 博文数量: 39
  • 博客积分: 420
  • 博客等级: 下士
  • 技术积分: 457
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-01 10:22
文章分类

全部博文(39)

文章存档

2015年(15)

2014年(11)

2013年(1)

2012年(2)

2011年(1)

2010年(9)

我的朋友

发布时间:2015-05-27 20:51:59

使用VS2010编译时。会出现以下警告。warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(371) :.........【阅读全文】

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

发布时间:2015-04-08 11:25:10

从内存读取十六进制转换陈double类型的小数算法......【阅读全文】

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

发布时间:2015-03-12 15:09:58

1、首先要加入头文件:#include <algorithm>2、将string字母转换为小写代码:点击(此处)折叠或打开void strToLower(string &str){    transform(str.begin(),str.end(),str.begin(),tolower);}3、比较两个字符串的大.........【阅读全文】

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

发布时间:2015-03-12 14:59:23

点击(此处)折叠或打开#include <string>#include <iostream>#include <algorithm> #include <functional>using namespace std;void removeAll(string &str,char c){    stri.........【阅读全文】

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

登录 注册