10 2013 档案
摘要://GBK转UTF8string CAppString::GBKToUTF8(const string & strGBK) { string strOutUTF8 = ""; WCHAR * str1; int n = MultiByteToWideChar(CP_ACP, 0,...
阅读全文
摘要:Windows上右键git菜单出来的原因Git下载地址https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+gitGit右键菜单,见图(1-1)图(1-1)使用1.7.8版本好像不能出现右键菜单,试了好几...
阅读全文
摘要:char strTtimeDump[512] = ""; int a = 5; sprintf(strTtimeDump, "%.4d", a); //strTtimeDump输出0005 数字前补3个0 sprintf(strTtimeDump, "%4d", a...
阅读全文
摘要:#include //选择排序void SelectSort(int *p, const int length){ if (p == NULL) { return; } for (int i = 0; i p[j]) { ...
阅读全文