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

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

C/C++ 如何向上取整? - C/C++ - 泛网 - 专注C/C++及内核技术

C/C++ 如何向上取整?一般地,向上取整有两种方法:#include <math.h>int _tmain(int argc, _TCHAR* argv[]){int a = 6, b = 5; ceil函数printf("%d...一般地,向上取整有两种方法: #include <math.h> int _tmain(int argc, _TCHAR* argv[]) { int a = 6, b = 5; //ce...
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/2098.html 

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

...VC\INCLUDE\iterator(93) : error C2039: “push_front”: 不是“std::vector”的成员...VC INCLUDE iterator(93) : error C2039: push_front:不是std::vector<_Ty>的成员 with [ _Ty=int ]错误代码:int ia[] = {1......VC\INCLUDE\iterator(93) : error C2039: “push_front”: 不是“std:...
https://www.tsingfun.com/it/cp... 

编译错误 error: ISO C++ forbids declaration of ‘xxx’ with no type [-...

编译错误 error: ISO C++ forbids declaration of ‘xxx’ with no type [-fpermissive]error-iso-c-forbids-declaration-of-with-no-type比较可能的情况1:函数没有写返回类型,加上返回类型后编译成功。 ifndef ttTree_h define ttTree_hclass ttTree {public: ttTree(void); int ...
https://www.tsingfun.com/it/os_kernel/2055.html 

CoInitialize浅析一 - 操作系统(内核) - 泛网 - 专注C/C++及内核技术

CoInitialize浅析一大家都知道程序中若要使用COM组件则必须要先调用CoInitialize,该函数主要是用来初始化COM运行环境。但这个函数的作用域是以线程为单位还是 大家都知道程序中若要使用COM组件则必须要先调用CoInitialize,该函数...
https://www.tsingfun.com/it/cpp/1605.html 

MFC 菜单背景色设置(菜单重绘) - C/C++ - 泛网 - 专注C/C++及内核技术

MFC 菜单背景色设置(菜单重绘)先上效果图:源码下载(来自CSDN,感谢原作者):QTOOLS.rar简单解析下:最终是通过CMenu菜单的OnDrawItem()函数中重新绘制菜单项,填充背...先上效果图: 源码下载(来自CSDN,感谢原作者):QTO...
https://www.tsingfun.com/it/cpp/2159.html 

stl multimap用法 - C/C++ - 泛网 - 专注C/C++及内核技术

stl multimap用法multimap的特点为key是可以重复的,而普通map中的key是不可以重复的。声明multimap<int, CString>mapTest;multimap<int, CString>::itera...multimap的特点为key是可以重复的,而普通map中的key是不可以重复的。 声明 multim...
https://www.tsingfun.com/it/tech/1766.html 

如何在Visual Studio中运行和调试汇编代码 - 更多技术 - 泛网 - 专注C/C++及内核技术

如何在Visual Studio中运行和调试汇编代码使用内联汇编__asm,如下:int _tmain(int argc, _TCHAR* argv[]){ int a = 1; __asm{ ...使用内联汇编__asm,如下: int _tmain(int argc, _TCHAR* argv[]) { int a = 1; __asm{ x...
https://www.tsingfun.com/it/cp... 

INT 10H 中断介绍 - C/C++ - 泛网 - 专注C/C++及内核技术

INT 10H 中断介绍int_10h_instructionsINT 10H 是由 BIOS 对屏幕及显示器所提供的服务程序,而后倚天公司针对倚天中文提供了许多服务程序,这些服务程序也加挂在 INT 10H ... INT 10H 是由 BIOS 对屏幕及显示器所提供的服务程序。使用 INT 10H...
https://www.tsingfun.com/it/cpp/1416.html 

ZeroMQ实例-使用ZMQ(ZeroMQ)进行局域网内网络通信 - C/C++ - 泛网 - 专注C/C++及内核技术

ZeroMQ实例-使用ZMQ(ZeroMQ)进行局域网内网络通信本文内容摘要:1)安装zeromq、2)实例说明使用zmq进行网络间的消息发送和接收首先在机器中安装zmq库步骤如下:1)下载zeromq的源代码,Zer...本文内容摘要:1)安装zeromq、2)实例说...