大约有 7,000 项符合查询结果(耗时:0.0122秒) [XML]

https://www.tsingfun.com/it/cpp/1502.html 

%d,%c,%s,%x等转换符 释义 - C/C++ - 清泛网 - 专注C/C++内核技术

%d,%c,%s,%x等转换符 释义转换说明符 %a(%A) 浮点数、十六进制数字和p-(P-)记数法(C99) %c 字符 %d 有符号十进制整数 %f 浮...转换说明符 %a(%A) 浮点数、十六进制数字和p-(P-)记数法(C99) %c 字符 %d ...
https://www.tsingfun.com/it/cpp/1504.html 

register int i;的含义 - C/C++ - 清泛网 - 专注C/C++内核技术

register int i;的含义register声明的作用是为了提高效率。它明确要求CPU把变量始终保存在寄存器里面,直至它消亡。不过现代编译器都很厉害,根本不需要你多此一...register声明的作用是为了提高效率。 它明确要求CPU把变量始终...
https://www.tsingfun.com/it/cpp/1506.html 

std::vector find查找方法 - C/C++ - 清泛网 - 专注C/C++内核技术

std::vector find查找方法std::vector<std::string> vecTest;std::string findStr("test");bool found = std::find(vecTest.begin(), vecTest.end(), findStr...std::vector<std::string> vecTest; std::string findStr("test"); bool found = std::find(vecTest.begin(), vecTest.end(), findStr) != vecTest.end(...
https://www.tsingfun.com/it/cpp/1509.html 

std::map strng key编译错误 - C/C++ - 清泛网 - 专注C/C++内核技术

std::map strng key编译错误乱七八糟的错误,原因很简单,少了 #include <string>(注意,不是string.h,如果包含了string.h,请改为string)乱七八糟的错误,原因很简单,少了 #include <string> (注意,不是string.h,如果包含了string.h,请改...
https://www.tsingfun.com/it/cpp/1510.html 

此诊断出现在编译器生成的函数“CGdiObject &CGdiObject::operator =(const...

此诊断出现在编译器生成的函数“CGdiObject &CGdiObject::operator =(const CGdiObject &)”中出现此类问题是对象赋值导致,因为没有重载=赋值操作符。由于不会提示具体错误行,因此需要仔细查看对象直接赋值的地方。改为指针赋值就没.....
https://www.tsingfun.com/it/cpp/1511.html 

std::string的截取字符串的方法 - C/C++ - 清泛网 - 专注C/C++内核技术

std::string的截取字符串的方法例如截取ip:port,代码如下:std::string ip("127.0.0.1:8888");int index = ip.find_last_of(':'); ipip.substr(0, index)....例如截取ip:port,代码如下: std::string ip("127.0.0.1:8888"); int index = ip.find_last_of(':'); //ip ip.substr(0, in...
https://www.tsingfun.com/it/cpp/1513.html 

_access头文件 - C/C++ - 清泛网 - 专注C/C++内核技术

_access头文件_access头文件 #include #include <io.h> _access 头文件
https://www.tsingfun.com/it/cpp/1514.html 

std::string截取字符串,截取ip:port - C/C++ - 清泛网 - 专注C/C++内核技术

std::string截取字符串,截取ip:portstd::string ip("127.0.0.1:8888");int index = ip.find_last_of(':'); 获取ipip.substr(0, index).c_str(); 获取portip.substr(index + 1).c_str();std::string ip("127.0.0.1:8888"); int index = ip.find_last_of(':'); // 获取ip ip.substr(0, index).c_str();...
https://www.tsingfun.com/it/cpp/1515.html 

解决:Successful WSAStartup not yet performed. Error code : 10093. - C...

解决:Successful WSAStartup not yet performed. Error code : 10093.出现10093错误的原因是应用程序没有调用 WSAStartup,或者 WSAStartup 失败。原因:调用WSASocket等Socket函数之前必须先执行WSAStartup...出现10093错误的原因是应用程序没有调用 WSAStartup...
https://www.tsingfun.com/it/cpp/1516.html 

error C2143:语法错误 : 缺少“;”(在“*”的前面) error C4430:缺少类型说...

error C2143:语法错误 : 缺少“;”(在“*”的前面) error C4430:缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int1>d: xxx childfrm.h(73): error C2143: 语法错误 : 缺少;(在*的前面)1>d: xxx childfrm.h(73): error C4430: 缺少类型说明符 - ...1>d:\xxx\ch...