大约有 19,024 项符合查询结果(耗时:0.0380秒) [XML]

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

MFC MDI切换menu原理 - C/C++ - 清泛网 - 专注C/C++及内核技术

...数据成员,重写 GetDefaultMenu() 返回该数据成员: // .h file // HMENU m_hMyMenu; // virtual HMENU GetDefaultMenu(); // get menu depending on state HMENU CMyDocument::GetDefaultMenu() { return m_hMyMenu; // just use original default } 请记住,以初始化...
https://www.tsingfun.com/it/cpp/1300.html 

Win32 创建控件风格不是Win XP的解决方案 - C/C++ - 清泛网 - 专注C/C++及内核技术

...09 1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt 这个错误是说工程中已经包括了RT_MANIFEST文件。那么此时,就不要加这句话,直接把这个.manifest文件加入到工程中就行了。 修改过后的界面如下: ...
https://www.tsingfun.com/it/cpp/1361.html 

一个宏命令,就可以程序崩溃时生成dump文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...程序崩溃时生成dump文件。在主程序初始化时加入DeclareDumpFile();在主程序初始化时加入 DeclareDumpFile(); 创建头文件DumpFile.h, 将下列代码放进文件中: #pragma once #include <windows.h> #include < Dbghelp.h> #include <iostream> #include <vector> ...
https://www.tsingfun.com/it/cpp/1503.html 

预编译头文件来自编译器的早期版本,或者预编译头为 C++ 而在 C 中使用它(...

...1853 编译器错误:fatal error C1853: 'pjtname.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)(致命错误C1853: “filename.pch”预编译头文件来自编译器的早期版本,或者预...
https://www.tsingfun.com/it/cpp/1515.html 

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

... &wsaData); if (res) { AfxMessageBox("WSAStartup filed. [CxxxApp::InitInstance()]", 0); return false; } ... } WSAStartup 10093
https://www.tsingfun.com/it/cpp/1786.html 

Linux常用命令(持续更新...) - C/C++ - 清泛网 - 专注C/C++及内核技术

...xvf xxx.tar.xz 解压7z文件: http://sourceforge.net/projects/p7zip/files/ cd xxx make sh install.sh 7za x xxx.7z命令 常用
https://www.tsingfun.com/it/cpp/2034.html 

Linux编程中各种头文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...include <utime.h> #include <time.h> #include <sys/stat.h> #include <sys/file.h> 涉及到多进程操作时加入如下语句: #include <sys/wait.h> #include <sys/ipc.h> #include <sys/shm.h> #include <signal.h> 涉及到多线程操作时加入如下语句: #include <pthr...
https://www.tsingfun.com/it/cpp/2040.html 

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

...ecl std::sort(_RI,_RI,_Pr)' : expects 3 arguments - 2 provided C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(588) : see declaration of 'sort' prog7.cpp(8) : error C2782: 'void __cdecl std::sort(_RI,_RI)' : template parameter '_RI' is ambiguous could be 'class std::reverse_iterato...
https://www.tsingfun.com/it/cpp/2046.html 

XP风格按钮的实现 - C/C++ - 清泛网 - 专注C/C++及内核技术

...XPButton.h放到当前工程目录中,通过Project->Add to project->Add file to project将XPButton.cpp和XPButton.h导入到工程中; 3.在CTestDlg.h添加头文件 #include "XPButton.h"; 4.关闭工程,将工程目录下的.clw文件删除,重新打开工程,为对话框添加一个...
https://www.tsingfun.com/it/cpp/2138.html 

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

...息,可在   Prject Settings Link页中勾掉GenerateBrowseInfoFile,   禁止生成.bsc文件,以加快编译速度。但若....bsc 用于浏览项目信息,可在    Prject \ Settings \ Link 页中勾掉“Generate Browse Info File”,    禁止...