连击 天
fork: star:
参考: http://bbs.sjtu.edu.cn/bbscon,board,C,file,M.1300328832.A.html http://noteonx.blogspot.com/2009/04/boost.html http://www.cnblogs.com/wondering/archive/2009/05/21/boost_se...
一、一般用法 我们使用#把宏参数变为一个字符串,用##把两个宏参数贴合在一起. 用法: #include #include using namespace std; #define STR(s) #s #define CONS(a,b) int(a##...
Boost is a set of libraries for the C++ programming language that provide support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading...
//////////////////////////////////////////////////////////////////////////////// 代码 #include <stdio.h> int main() { int i; const int a = 1; const int b = 2; int array[ a + b ...
Libevent 的强大就不说了,但由于在window下使用的是 select 机制 ,除了效率低下意外还有一个讨厌的"FD_SETSIZE"限制,所以一直 希望能支持IOCP,可是现在已经到2.0还是没能够支持。 无意中在...
:: ///////////////////////////////////////////////////////////////////////////// @ECHO OFF SETLOCAL ENABLEDELAYEDEXPANSION :: ////////////////// function funSolution ///////////...
C中的const,功能比较单一,较容易理解: 作用: 被修饰的内容不可更改。 使用场合:修饰变量,函数参数,返回值等。(C++中应用场合要丰富的多) 特点: 是运行时const,因此不能取代#defi...
以下宏文(原文在 http://blog.sina.com.cn/s/blog_4e7d38260100ade4.html),是转贴并进行了修饰编辑: 首先感谢永和兄提供C++的WebService服务器端及客户端,并且陪我一起熬夜;然后是火石和...
源文章来自前C++标准委员会的 Danny Kalev 的 The Biggest Changes in C++11 (and Why You Should Care),赖勇浩做了一个中文翻译在这里。所以,我就不翻译了,我在这里仅对文中提到的这些变...
没有更多内容
加载失败,请刷新页面
没有更多内容
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复