码迷,mamicode.com
首页 >  
搜索关键字:pragma macro    ( 2934个结果
iOS 动画类型 笔记
#pragma mark Core Animation- (IBAction)buttonPressed1:(id)sender { UIButton *button = (UIButton *)sender; NSInteger tag = button.tag; CATransition...
分类:移动开发   时间:2014-06-11 11:13:59    阅读次数:275
C++实现简单的单链表
下面实现的是一个简单的单链表功能不多,学习使用#pragma once#include using namespace std;class ListEx{private: struct Node { Node* next; int data; N...
分类:编程语言   时间:2014-06-11 10:06:26    阅读次数:246
bullet_01
#include #include #include #include #include #include #include #pragma comment(lib, "osgd.lib")#pragma comment(lib, "osgDBd.lib")#pragma comment(lib, ...
分类:其他好文   时间:2014-06-11 09:42:00    阅读次数:369
freemarker自定义标签报错(四)
freemarker自定义标签 1、错误描述 六月 05, 2014 11:31:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Error executing macro: write\nrequired parameter: nums is not s...
分类:其他好文   时间:2014-06-09 23:18:11    阅读次数:353
freemarker自定义标签
freemarker自定义标签 1、自定义标签说明      宏变量存储模板片段可以被用作自定义指令macro 2、示例说明 freemarker自定义标签 repeat("张三丰",3) 3、示例结果 freemarker自定义标签...
分类:其他好文   时间:2014-06-09 23:09:25    阅读次数:247
读书笔记:程序员的自我修养-----第二章(编译和链接)
自己之前一直以为目标文件是经过汇编生成.s之后编译生成的,好菜。 源程序到可执行程序过程:预处理 编译 汇编 链接预处理: 展开宏定义,处理条件预编译指令,插入头文件,删除注释,添加行号和文件名标示,保留#pragma编译器指令.编译: 词法分析:词法扫描器按照词法规则产生记号,根据记号放...
分类:其他好文   时间:2014-06-09 13:34:12    阅读次数:204
简易的sniff程序
真的很简易,这个程序仅仅是抓一些发送到本机的数据包,然后显示出来它们的一些信息罢了!      程序非常简单!      #include #include #include #include #pragma comment(lib, "ws2_32.lib") /*链接ws2_32.lib动态链接库*/ #define SIO_RCVALL _WSAIOW(IOC_VENDOR, ...
分类:其他好文   时间:2014-06-08 17:17:21    阅读次数:219
HDU 1754 I hate it 分段树Segment Tree题解
给出一段数据,然后要更新单个数据,会询问一段数据中的最大值。 又是一道分段树操作。渐渐熟手了。 #pragma once #include #include using namespace std; class IHateIt_1754_1 { static const int SIZE = 200001; int *segTree; //不要使用segTree[SIZE<<2]...
分类:其他好文   时间:2014-06-08 15:40:21    阅读次数:208
freemarker自定义标签报错(一)
freemarker自定义标签 1、错误描述 freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #macro on line: 12, column: 101, in template: myself.ftl in myself.f...
分类:其他好文   时间:2014-06-08 09:47:07    阅读次数:223
C++调用Java的Jar包
一个简单需求:用C++调用Jar包。 实现基本思路:调用CreateProcess API来启动cmd.exe运行jar包。 调用类CJarAppCall。 JarAppCall.h #pragma once class CJarAppCall { public: CJarAppCall(void); ~CJarAppCall(void); /* ...
分类:编程语言   时间:2014-06-08 09:20:20    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!