码迷,mamicode.com
首页 >  
搜索关键字:es6 let const    ( 43838个结果
boost::serialization 拆分serialize函数
在前篇 boost::serialization 用基类指针转存派生类(错误多多,一波三折)文中我们都是使用serialize函数来实现序列化,其代码格式如下: private: friend class boost::serialization::access; template void serialize(Archive& ar, const unsigned int ...
分类:其他好文   时间:2014-05-10 09:09:19    阅读次数:520
Share Point 创建 TimerJob
public class SyncMetadataJob:SPJobDefinition { private const string JobName = @"Metadata Sync Job"; private int counter = 0; ...
分类:其他好文   时间:2014-05-08 22:30:30    阅读次数:319
未处理的异常 stack overflow
今天在编译程序时遇到“0x00e304f7 处有未经处理的异常: 0xC00000FD: Stack overflow”的错误,也就是栈溢出了,google了一下,原来是我申请的一个变量太大了,const int maxnum = 10000; 改小一些就好了。局部变量的定义是在栈中申请空间的,栈溢...
分类:其他好文   时间:2014-05-08 19:53:07    阅读次数:268
linux内核学习:中断
编程相关注册中断int request_irq( unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev) typede...
分类:系统相关   时间:2014-05-07 17:58:00    阅读次数:415
panel内嵌程序窗体
function RunAppInPanel(const AppFileName: string; ParentHandle: HWND; var WinHandle: HWND): Boolean;var si: STARTUPINFO; pi: TProcessInformation;beg.....
分类:Windows程序   时间:2014-05-07 09:29:39    阅读次数:462
ffmpeg save rtsp stream
#include #ifdef __cplusplusextern "C" {#endif#include #include //#include #ifdef _MSC_VERint strcasecmp(const char *s1, const char *s2){ while ((*s...
分类:其他好文   时间:2014-05-05 11:09:37    阅读次数:382
hdu 1598 find the most comfortable road
http://acm.hdu.edu.cn/showproblem.php?pid=1598 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 const int inf=1<<30; 7...
分类:其他好文   时间:2014-05-05 10:53:38    阅读次数:344
hdu 1599 find the mincost route
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:其他好文   时间:2014-05-05 10:52:15    阅读次数:315
Qt入门 - QVariant
QVariant相当于一个包含大多数Qt数据类型的联合体将数据存储为一个Private结构体类型的成员变量d:1 QVariant::QVariant(Type type)2 { create(type, 0); }1 void QVariant::create(int type, const vo...
分类:其他好文   时间:2014-05-04 19:30:20    阅读次数:593
Let us learn C in Code <11> flowchart while
So many days passed since the last C tutorial about the flowchart, this chapter we will go on  the flowchart and while loops...
分类:其他好文   时间:2014-05-04 09:01:20    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!