最近有一个需求,就是给一个目录,然后把里面所有的文件内容都修改,并修改文件名。 #include "stdafx.h"#undef UNICODE#include #include #include #include #include #include #include using namespac...
分类:
其他好文 时间:
2014-07-19 19:05:06
阅读次数:
157
Counting Game There are n people standing in a line, playing a famous game called ``counting". When the game begins, the leftmost person says ``1" lo....
分类:
其他好文 时间:
2014-07-19 00:20:58
阅读次数:
245
varchar(n)长度为 n 个字节的可变长度且非 Unicode 的字符数据。n 必须是一个介于 1 和 8,000 之间的数值。存储大小为输入数据的字节的实际长度,而不是 n 个字节。nvarchar(n)包含 n 个字符的可变长度 Unicode 字符数据。n 的值必须介于 1 与 4,00...
分类:
数据库 时间:
2014-07-18 22:13:10
阅读次数:
355
#include "stdafx.h"//vs2010下运行通过#undef UNICODE#include #include #include #include using namespace std;void browseFile(char* path){ char pattern[FILENA...
分类:
其他好文 时间:
2014-07-18 18:36:12
阅读次数:
187
IIS有十多种常见漏洞,但利用得最多的莫过于Unicode解析错误漏洞。微软IIS 4.0/5.0在Unicode字符解码的实现中存在一个安全漏洞,用户可以远程通过IIS执行任意命令。当IIS打开文件时,如果该文件名包含Unicode字符,它会对它进行解码。如果用户提供一些特殊的编码,将导致IIS错...
分类:
其他好文 时间:
2014-07-18 17:20:17
阅读次数:
258
Oracle 劳伦斯.埃里森 Larry Ellisonhistory:人工管理阶段文件管理阶段数据库系统阶段model:【模型是所研究的系统、过程、事物或概念的一种表达形式】层次结构model网状结构model关系结构modelschema:【对现实世界的abstract,对DB全体data的lo...
分类:
数据库 时间:
2014-07-18 15:15:55
阅读次数:
240
Python编码问题详解
继上一篇文章字符集和编码详解总结了常见字符编码后,这篇文章会对python中常见的编码问题进行分析和总结。由于python3.x版本和python2.x版本在字符编码方面有很大差异,所以本文都是以Python2.7.5来分析2.x版本中的字符编码问题。
1.Python编码基础
1.1 str和unicode
python中有两种数据模型来支持字符串这种数...
分类:
编程语言 时间:
2014-07-18 11:26:09
阅读次数:
347
CSS命名规则头:header 内容:content/containe 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体布局宽度:wrapper 左右中:left right center 登录条:loginbar 标志:lo...
分类:
Web程序 时间:
2014-07-17 22:16:09
阅读次数:
371
连接数据库 输入值 存入数据库 关闭import stringimport mysql.connectorconn=mysql.connector.connect(user='root',password='test',database='dalian',use_unicode=True)curso...
分类:
数据库 时间:
2014-07-17 22:02:37
阅读次数:
412
来源:http://www.cnblogs.com/PiaoDbg/archive/2012/03/04/2379336.htmlGenericSBCSUNICODETCHARcharwchar_t_TEOFEOFWEOF_TINTintwint_t_TSCHARsignedcharwchar_t_...
分类:
编程语言 时间:
2014-07-17 22:02:08
阅读次数:
763