源地址:http://blog.csdn.net/xcy2011sky/article/details/7168376解决中文乱码,最好知道乱码是什么格式比如说:utf-8.解决方案:1.让整个应用程序支持中文: 在 QApplication a(argc, argv);后加上以下几句话即可。要包含...
分类:
其他好文 时间:
2014-07-22 00:36:35
阅读次数:
192
题解:用a[i]表#include #include using namespace std;struct data{int len,a[2002];}a[35],c,p,t;int n,d;data mul(data a,data b){ memset(c.a,0,sizeof c.a); ...
分类:
其他好文 时间:
2014-07-22 00:35:36
阅读次数:
235
My first reaction: move all A elements back by n positions, and start everything from A[0] and B[0]. But a smarter idea is to start everything from th...
分类:
其他好文 时间:
2014-07-22 00:35:36
阅读次数:
189
原来有一些VS2013的工程文件(.sln、.csproj),使用.Net 4.0。现需要将它们转换成VS2010格式。经实验,办法如下:(1) 在Solution文件(.sln)中:把文件头部这样的行:Microsoft Visual Studio Solution File, Format Ve...
分类:
其他好文 时间:
2014-07-22 00:35:35
阅读次数:
195
最近360浏览器网址导航的主页增加了一个下拉选择图片搜索的功能,也就是用js模拟出了select的效果,今天在单位闲了无事干,就把空上功能给摸索出来了,虽然做的不是太完善,但对要求不高的用户来说,已经可以了,而且也可以为学习Js的朋友提供参考。
分类:
Web程序 时间:
2014-07-22 00:34:38
阅读次数:
240
HighwaysTime Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]DescriptionT...
分类:
其他好文 时间:
2014-07-22 00:34:35
阅读次数:
258
推荐大家始终坚持“大小写敏感”,遵循统一的代码规范。1. 变量名区分大小写1 <?php2 $abc = 'abcd';3 echo $abc; //输出 'abcd'4 echo $aBc; //无输出5 echo $ABC; //无输出2. 常量名默认区分大小写,通常都写为大写(但没找到能改变这...
分类:
Web程序 时间:
2014-07-22 00:34:35
阅读次数:
277
The trick is, we can work on a reversed vector - learnt from EPI.class Solution {public: vector plusOne(vector &digits) { std::reverse(digit...
分类:
其他好文 时间:
2014-07-22 00:33:36
阅读次数:
223
Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s...
分类:
其他好文 时间:
2014-07-22 00:33:36
阅读次数:
271