int 转 CString:CString.Format("%d",int);...............................string 转 CStringCString.format("%s", string.c_str());用c_str()确实比data()要好...........
分类:
其他好文 时间:
2014-07-18 23:25:40
阅读次数:
267
/*
B - 简单dp 例题
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
7
3 8
8 1 0
2 7 4 4
4 5 2 6 5
(Figure 1)
Figure 1 shows a nu...
分类:
其他好文 时间:
2014-07-18 22:23:40
阅读次数:
226
1.DATE_FORMAT函数SELECT a.create_time FROM account_log a WHERE a.create_time >= DATE_FORMAT('2014-05-10 00:00:00','%Y-%m-%d %H:%i:%s') AND...
分类:
数据库 时间:
2014-07-18 20:35:14
阅读次数:
361
A Famous City Time Limit:7000MSMemory Limit:0KB64bit IO Format:%lld & %lluAfter Mr. B arrived in Warsaw, he was shocked by the skyscrapers and took se...
分类:
其他好文 时间:
2014-07-18 20:08:09
阅读次数:
245
A Famous Music Composer Time Limit:1000MSMemory Limit:0KB64bit IO Format:%lld & %lluMr.B is a famous music composer. One of his most famous work was ....
分类:
其他好文 时间:
2014-07-18 20:03:59
阅读次数:
337
The Famous Clock Time Limit:1000MSMemory Limit:0KB64bit IO Format:%lld & %lluMr. B, Mr. G and Mr. M are now in Warsaw, Poland, for the 2012’s ACM-ICP....
分类:
其他好文 时间:
2014-07-18 19:34:12
阅读次数:
229
以下实例格式化数据表格中的一列。如果金额小于20时使用自定义的格式器将文本变成红色。要格式化数据表格列,需要设置formatter属性,该属性是一个函数,它包含两个参数:value: 对应字段的当前列的值record: 当前行的记录数据$('#tt').datagrid({title:'Format...
分类:
其他好文 时间:
2014-07-18 19:20:26
阅读次数:
326
Another Easy ProblemTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionxtt最近学习了高斯消元法解方程组,现在他的问题来了,如果是以下的方程,那么应该如...
分类:
其他好文 时间:
2014-07-18 19:08:50
阅读次数:
198
在学习编写linux驱动程序的时候,一般都是从写一个helloworld的模块开始。但是在编译完成后,进行模块加载的时候,有时会出现如下错误:
insmod: error inserting 'hello.ko': -1 Invalid module format
其实,出现这个问题的原因很简单,就是:编译的内核版本与实机运行的内核版本不一致。
所以解决起来也很简单,实机运行的系统的代码树位置一般在/usr/src/kernels。只要将Makefile中的代码树改成实际运行的内核代码即可。...
分类:
其他好文 时间:
2014-07-18 17:08:15
阅读次数:
300
A Famous ICPC Team Time Limit:1000MSMemory Limit:0KB64bit IO Format:%lld & %lluMr. B, Mr. G, Mr. M and their coach Professor S are planning their way....
分类:
其他好文 时间:
2014-07-17 14:09:35
阅读次数:
312