摘要: @echo offcd /d %~dp0 if exist output.log del /q /f output.logif exist success.txt del /q /f success.txtcall "%VS140COMNTOOLS%vsvars32.bat"msbuild.exe 阅读全文
posted @ 2018-08-02 19:52 叶城宇 阅读(190) 评论(0) 推荐(0) 编辑
摘要: import osimport shutil#-*- coding:cp936 -*-import codecsfrom sys import argv def replace_all_files(path): cnt = 0 for root, dirs, files in os.walk(pat 阅读全文
posted @ 2018-07-27 16:50 叶城宇 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 经历过三年的工作洗礼。发现到一个新环境,还是避免不了会和之前的老东家做对比。总在纠结自己是获得多呢,还是失去多。在Amap快一百天的感觉比较强烈。原来,真的有人用一年工作经验写了十年代码,原来工作对大部分人来说真的就是工作而已,永远在鼠目寸光中解决现有问题。原来在大公司里面,这些人压根不会影响项目进 阅读全文
posted @ 2017-06-04 16:18 叶城宇 阅读(505) 评论(0) 推荐(0) 编辑
摘要: #if LINUX_SYSTEM int chVsprintf(LPSTR buffer, int nCount, LPCSTR format, va_list argptr) { return vsnprintf(buffer, nCount, format, argptr); } int chV 阅读全文
posted @ 2016-10-18 19:39 叶城宇 阅读(215) 评论(0) 推荐(0) 编辑
摘要: #include <string>using namespace std;string UTF8ToGBK(const std::string& strUTF8){ int len = MultiByteToWideChar(CP_UTF8, 0, strUTF8.c_str(), -1, NULL 阅读全文
posted @ 2016-10-09 15:32 叶城宇 阅读(1714) 评论(0) 推荐(0) 编辑
摘要: #include <QtGui/QImage>#include <QtGui/QPixmap>void getSystemIcon(const chConstStringA& fileType, xPixmap& dst){ if (fileType.empty()) { return; } CoI 阅读全文
posted @ 2016-09-28 15:30 叶城宇 阅读(228) 评论(0) 推荐(0) 编辑
摘要: struct xColor { BYTE b, g, r, a; }; struct RGBColor { BYTE b, g, r; }; //void operator <<(RGBColor& rgb, xColor& color) //{ // rgb.r = color.a * 1.0 / 阅读全文
posted @ 2016-06-22 17:17 叶城宇 阅读(331) 评论(0) 推荐(0) 编辑
摘要: typedef xPixel PIXELCOLORRGB; double Sinxx(double value){ if (value < 0) value = -value; if (value < 1.0) { float temp = value * value; return 0.5 * t 阅读全文
posted @ 2016-02-24 16:42 叶城宇 阅读(854) 评论(0) 推荐(0) 编辑
摘要: 元旦送走了2015,迎来2016。在今年总体上来说自己过得不错。工作:自己对当前使用的界面库和底层库基本上熟练使用,对界面库能够做到“知其然知其所以然”。也对自己的职业规划有了更加清晰的认识。在生活上,实现了去年要两次旅游,每周至少运动一次,保持身体良好状态。2016年里,希望自己还能像海绵一样... 阅读全文
posted @ 2016-01-03 21:53 叶城宇 阅读(216) 评论(0) 推荐(0) 编辑
摘要: // winFtpPutFiles.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include using namespace std;#include#include#pragma ... 阅读全文
posted @ 2015-12-17 14:30 叶城宇 阅读(200) 评论(0) 推荐(0) 编辑