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

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

高效使用STL容器小tip - C/C++ - 清泛网 - 专注C/C++及内核技术

...是0,每次都浪费线性时间。 看下边的例子: while( c.size() != 0 ){……} while( ! c.empty() ){……} 这两种方式有区别吗?当然有区别,对于任一种类型的容器,应该使用 empty() 成员函数来判断是不是空,因为对于所有标准容器...
https://www.tsingfun.com/it/cpp/1530.html 

C++的内部类 - C/C++ - 清泛网 - 专注C/C++及内核技术

C++的内部类标准C:不能访问内部类的private成员。但编译器编译能通过且不报错。标准C:不能访问内部类的private成员。 但编译器编译能通过且不报错。C++ 内部类
https://www.tsingfun.com/it/cpp/1630.html 

error MSB6006: “cmd.exe”已退出,代码为 3 - C/C++ - 清泛网 - 专注C/C++及内核技术

error MSB6006: “cmd.exe”已退出,代码为 31>C: Program Files MSBuild Microsoft.Cpp v4.0 Microsoft.CppCommon.targets(151,5): error MSB6006: cmd.exe已退出,代码为 3。1>1...1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: “cmd.exe...
https://www.tsingfun.com/it/cpp/2040.html 

error C2780: \'void __cdecl std::sort(_RI,_RI,_Pr)\' : expects 3 argum...

error C2780: 'void __cdecl std::sort(_RI,_RI,_Pr)' : expects 3 arguments - 2 providedprog7.cpp(8) :error C2780:'void __cdecl std::sort(_RI,_RI,_Pr)' : expects 3 arguments - 2 provided C: Pr...prog7.cpp(8) : error C2780: 'void __cdecl std::sort(_RI,_RI,_Pr)' : expects 3 arguments - 2 provided C:...
https://www.tsingfun.com/it/cpp/2090.html 

error C2664: “find_char”: 不能将参数 1 从“const char [14]”转换为“...

error C2664: “find_char”: 不能将参数 1 从“const char [14]”转换为“std::string &出错代码:#include <iostream>#include <string>using std::cout;using std::endl;using std::string; const引用形参举例 非const...出错代码: #include <iostream> #include <string> using...
https://www.tsingfun.com/it/cpp/2138.html 

*.bsc文件是干什么用的? - C/C++ - 清泛网 - 专注C/C++及内核技术

*.bsc文件是干什么用的?.bsc 用于浏览项目信息,可在   Prject Settings Link页中勾掉GenerateBrowseInfoFile,   禁止生成.bsc文件,以加快编译速度。但若....bsc 用于浏览项目信息,可在    Prject \ Settings \ Link 页中勾...
https://www.tsingfun.com/it/cp... 

cout保留两位小数输出 - C/C++ - 清泛网 - 专注C/C++及内核技术

cout保留两位小数输出cout_two_decimalC++ std::cout输出2位小数的代码: include <stdio h> include <iostream> include <iomanip> std::setprecision函数需要引入该头文件int main(){ double dval C++ std::cout输出2位小数的代码: #include <stdio.h> #include <iostr...
https://www.tsingfun.com/down/... 

深入解析ATL - 文档下载 - 清泛网 - 专注C/C++及内核技术

...系博文视点 第1章 你好,ATL  1.1 什么是ATL  1.2 创建COM服务器  1.3 插入COM类  1.4 添加属性和方法  1.5 实现附加接口  1.6 脚本支持  1.7 添加永久性  1.8 添加和激发事件显示全部信息第2版序 第1版序 前言 致谢 关...
https://www.tsingfun.com/down/... 

深入解析ATL - 文档下载 - 清泛网移动版 - 专注C/C++及内核技术

...系博文视点 第1章 你好,ATL  1.1 什么是ATL  1.2 创建COM服务器  1.3 插入COM类  1.4 添加属性和方法  1.5 实现附加接口  1.6 脚本支持  1.7 添加永久性  1.8 添加和激发事件显示全部信息第2版序 第1版序 前言 致谢 关...
https://www.tsingfun.com/down/... 

深入解析ATL - 文档下载 - 清泛网 - 专注C/C++及内核技术

...系博文视点 第1章 你好,ATL  1.1 什么是ATL  1.2 创建COM服务器  1.3 插入COM类  1.4 添加属性和方法  1.5 实现附加接口  1.6 脚本支持  1.7 添加永久性  1.8 添加和激发事件显示全部信息第2版序 第1版序 前言 致谢 关...