C/C++
꒰ঌ小草໒꒱
这个作者很懒,什么都没留下…
展开
-
LNK1102 error out of memory
前几天把引擎的代码切换到VS2015下来了。光试了试X86的编译。今天因为内存问题试了试X64。发现竟然链接不过。一链接就报告LNK1102 error out of memory或者就死在链接的时候不动了。尝试多种配置均不行。最后发现MS竟然默认是使用x86 cross tool来编译x64的代码的。而且IDE里没找到配置修改成x64 native compiler的地方。具体做法是打开vcxproj文件。在Globals的ItemGroup里加一条:x64改完看上去应该是这样的转载 2021-02-14 00:58:07 · 584 阅读 · 1 评论 -
VS2017配置C/C++-MySQL开发环境
原文链接:https://blog.csdn.net/DaSo_CSDN/article/details/54646859开发环境】Visual Studio with Update 3(下载地址:http://www.itellyou.cn/)MySQL 8.0.0(下载地址:http://mirror.yandex.ru/mirrors/ftp.mysql.com/Downloads...转载 2019-11-14 14:59:15 · 436 阅读 · 0 评论 -
Visual Studio下载速度慢解决办法
方法一:*.通过站长工具查询,找到下载地址访问速度快的dns。http://tool.chinaz.com/dns/?type=1&host=download.visualstudio.microsoft.com&ip=例如: 58.20.179.81 download.visualstudio.microsoft.com*.设置hosts文件 ...原创 2019-11-05 16:21:58 · 16581 阅读 · 2 评论 -
QQ三国图片解码算法
UINT HI4(UINT n){ UINT d = (n & 0xF0) >> 4;//取高4位 return d << 4 | d;//A转为AA }UINT LO4(UINT n){ UINT d = (n & 0xF);//取低4位 return d << 4 | d;//A转为AA }UINT getPixe...原创 2019-04-20 08:11:35 · 3049 阅读 · 7 评论