![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
解决问题
狂奔的魚
Life is too short to learn C++...
展开
-
[Golang]关于[]interface{}以及…interface{}变长参数多次传递的问题
[Golang]关于[]interface{}以及…interface{}变长参数多次传递的问题项目中需要对fmt.Printf()进行封装。例如:func Mylog(fmt string, vals ...interface{}) { //customize implementation fmt.Printf(fmt, vals)}func main() { var str1 string = "str1" var str2 string = "str2" var str3原创 2021-08-13 10:51:33 · 976 阅读 · 0 评论 -
C++ 获取CPU info
#include <iostream>#include <intrin.h>#include <string>using namespace std;void getcpuid(unsigned int CPUInfo[4], unsigned int InfoType); void getcpuidex(unsigned int CPUInfo[4], unsigned int InfoType, unsigned int ECXValue); c转载 2020-05-09 11:17:49 · 677 阅读 · 0 评论 -
【已解决】error MSB6006: “rc.exe”已退出,代码为5 || 代码为2
从stackoverflow上看到的解决方法????原帖地址问题出现的原因:用VS2015打开VS2019工程文件并调试error MSB6006: “rc.exe”已退出,代码为51.首先,打开C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0选择对应的调试架构,x64还是x86,打开相应的文件夹,复制该文件夹路径,添加进环境变量(...原创 2020-01-06 10:33:19 · 7943 阅读 · 3 评论