大约有 2,100 项符合查询结果(耗时:0.0061秒) [XML]

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

在vc中使用xtremetoolkit界面库-----安装及环境配置 - C/C++ - 清泛网 - 专...

...是有个“ xtremetoolkit的使用.txt”文件吗,把编译时报错的代码的地方用这个文件里面“ XTToolkit调试一则”前面的一部分代码替换就可以了。这还是那时候的笔记,照上面的方法改过来。 首先我们生成一个debug环境下共享的.dll库...
https://www.tsingfun.com/it/cpp/2053.html 

C++ 获得当前执行文件的路径 - C/C++ - 清泛网 - 专注C/C++及内核技术

C++ 获得当前执行文件的路径代码如下:TCHAR szPath[_MAX_PATH] = {0};GetModuleFileName(NULL, szPath, MAX_PATH);PathRemoveFileSpec( szPath ); 去掉文件...代码如下: TCHAR szPath[_MAX_PATH] = {0}; GetModuleFileName(NULL, szPath, MAX_PATH); PathRemoveFileSpec( szPath ); //...
https://www.tsingfun.com/it/cpp/2060.html 

deque iterator not dereferencable 问题 - C/C++ - 清泛网 - 专注C/C++及内核技术

...同一个容器,也会导致出现这种情况。 解决办法:关键代码段不建议用互斥内核对象是因为关键代码段是用户层的,调用很快,互斥内核对象调用需要从用户态转入内核态!时间很长! deque iterator
https://www.tsingfun.com/it/cpp/2067.html 

[工程源码实例] C++ ADO 读写Excel源码及注意点 - C/C++ - 清泛网 - 专注C/C++及内核技术

...excel-ado.zip运行结果截图:生成的Excel截图:主要代码片段: 导入Excel COM支持。。。不过程序编译后即使客户机没...工程源码下载:excel-ado.zip 运行结果截图: 生成的Excel截图: 主要代码片段: //导入E...
https://www.tsingfun.com/it/cpp/2090.html 

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

...: 不能将参数 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 std::cout; using std::endl...
https://www.tsingfun.com/it/cpp/2092.html 

error C2440: “return”: 无法从“const Screen”转换为“Screen &” - C/...

...从“const Screen”转换为“Screen &”转换丢失限定符。出错代码(例子来自c++ primer 4th):Screen& Screen::display(std::ostream& os) const{ os << contents...转换丢失限定符。 出错代码(例子来自c++ primer 4th): Screen& Screen::display(std::ostream& o...
https://www.tsingfun.com/it/cpp/2097.html 

与迭代器失效相关的错误,例如:0x008D1127 处有未经处理的异常(在 prog34.e...

...xe 中): 0xC0000005: 读取位置 0x010AC000 时发生访问冲突。错误代码:#include <iostream>#include <vector>using std::vector;using std::cout;using std::endl; 迭代器失效举例-避免存储end...错误代码: #include <iostream> #include <vector> using std::vector; using s...
https://www.tsingfun.com/it/cpp/2098.html 

...VC\\INCLUDE\\iterator(93) : error C2039: “push_front”: 不是“std...

...or C2039: push_front:不是std::vector<_Ty>的成员 with [ _Ty=int ]错误代码:int ia[] = {1......VC\INCLUDE\iterator(93) : error C2039: “push_front”: 不是“std::vector<_Ty>”的成员 with [ _Ty=int ] 错误代码: int ia[] = {1,5,3,3,4}; ...
https://www.tsingfun.com/it/cpp/2104.html 

auto_ptr is not dereferencable - C/C++ - 清泛网 - 专注C/C++及内核技术

auto_ptr is not dereferencable错误如下图所示:错误代码示例: Example : Transferring ownership from one auto_ptr to anothervoi...错误如下图所示: 错误代码示例: // Example : Transferring ownership from // one auto_ptr to another void tes...
https://www.tsingfun.com/it/cpp/2106.html 

error C2280: \'std::mutex::mutex(const std::mutex &)\' : attempting to...

...函数,所以这里错误提示引用已经删除的函数。错误示例代码如下:解决方法:将包含std::...std::mutex是noncopyable的结构,因此不存在拷贝构造函数,所以这里错误提示引用已经删除的函数。 错误示例代码如下: 解决方法: ...