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

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

error C2275: “size_t”: 将此类型用作表达式非法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...明放在一个函数块的头部,而c++没有这样的要求造成的。解决的办法就是把变量的声明全部放在变量的生...这个错误是由于C的编译器要求将变量的申明放在一个函数块的头部,而c++没有这样的要求造成的。 解决的办法就是把变...
https://www.tsingfun.com/it/cpp/1493.html 

SHFileOperation 这个API函数怎么用起来结果飘忽不定? - C/C++ - 清泛网 -...

...尾加上' 0'也一样,笔者亲测,删除有时成功有时失败。解决:改用C++...SHFileOperation方法有时不起作用,用起来结果飘忽不定,路径末尾加上'\0'也一样,笔者亲测,删除有时成功有时失败。 解决: 改用C++的FindNextFile,支持 * ...
https://www.tsingfun.com/it/cpp/1499.html 

error LNK2019: 无法解析的外部符号 _GetFileVersionInfoSizeW@8,该符号在...

...oSize build时出现link2019 链接错误:#pragma comment(lib, "version")解决。GetFileVersionInfoSize build时出现link2019 链接错误: #pragma comment(lib, "version") 解决。LNK2019 GetFileVersionInfoSize
https://www.tsingfun.com/it/cpp/1518.html 

error LNK2019: 无法解析的外部符号 _Netbios@4,该符号在函数 中被引用 - C...

...019: 无法解析的外部符号 _Netbios@4,该符号在函数 中被引用解决方法如下:Cpp文件include语句之后加上如下代码:#pragma comment(lib,"netapi32.lib")解决方法如下: Cpp文件include语句之后加上如下代码: #pragma comment(lib,"netapi32.lib") LNK2019 N...
https://www.tsingfun.com/it/cpp/1524.html 

error: ‘uint16_t’ does not name a type - C/C++ - 清泛网 - 专注C/C++及内核技术

error: ‘uint16_t’ does not name a type#include <stdint.h> 解决。 ** * @file stdint.h * Copyright 2012, 2013 MinGW.org project * * Permission is hereby ...#include <stdint.h> 解决。 /** * @file stdint.h * Copyright 2012, 2013 MinGW.org project * * Permission is hereby granted, ...
https://www.tsingfun.com/it/cpp/1525.html 

XXX.cc:100: error: ‘::strerror’ has not been declared - C/C++ - 清泛网 - 专注C/C++及内核技术

XXX.cc:100: error: ‘::strerror’ has not been declared#include <string.h>解决。#include <string.h> 解决。strerror
https://www.tsingfun.com/it/cpp/1529.html 

ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope -...

...d long int pthread_t;它是一个线程的标识符。#include <pthread.h> 解决。pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义: typedef unsigned long int pthread_t; 它是一个线程的标识符。 #include <pthread.h> 解决。 pthread_t
https://www.tsingfun.com/it/cpp/1532.html 

ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared - C/...

ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared#include <pthread.h>#include <signal.h>除了pthread.h外,还要引入signal.h头文件才行,解决。#include <pthread.h> #include <signal.h> 除了pthread.h外,还要引入signal.h头文件才行,解决。pthread_kill
https://www.tsingfun.com/it/cpp/1562.html 

warning RC2182: duplicate dialog control ID 1002 - C/C++ - 清泛网 - 专注C/C++及内核技术

...值(这里是1002),与其他的控件ID值一样,发生冲突了。解决:resource.h中将值一样的控件ID改为不同的值。原因:报错行的控件ID值(这里是1002),与其他的控件ID值一样,发生冲突了。 解决:resource.h中将值一样的控件ID改为...
https://www.tsingfun.com/it/cpp/1587.html 

应用程序无法正常启动0xc0150002 - C/C++ - 清泛网 - 专注C/C++及内核技术

...02MFC写的程序启动不了,报错 0xc0150002。-----------------------解决思路-------------------------打开Windows事件查看器(我的电脑右键...MFC写的程序启动不了,报错 0xc0150002。 -----------------------解决思路------------------------- 打开Windows事件查...