码迷,mamicode.com
首页 >  
搜索关键字:macro    ( 439个结果
OC中关于时间的几个函数及格式化时间
// // main.m // 时间格式化 // // Created by Macro on 14-12-10. // Copyright (c) 2014年 Macro. All rights reserved. // #import int main(int argc, const char * argv[]) { @autoreleasepool { ...
分类:其他好文   时间:2014-12-10 21:22:45    阅读次数:292
深入研究Clang(六) Clang Lexer代码阅读笔记之Preprocesser
clang/include/clang/Lex/Preprocesser.h这个文件是包含clang::Preprocesser类的定义的头文件。它是类C语言(C、C++、Object C)的预处理的头文件。也就是说,类C语言的预处理都会用到此处的代码。00082 /// \brief Context in which macro name is used. 00083 enum MacroUse...
分类:其他好文   时间:2014-12-01 17:39:03    阅读次数:286
sas宏(3)宏,调试宏,创建带参数的宏,理解符号表(全局宏与局部宏解析),宏条件运算符,在宏中进行运算
宏类似于c中的函数,传入指定参数后执行,并且宏内部可以包含data步程序和条件运算符号。宏变量只是小小的变量、、、、(by the way作用也很大)1:宏的基本语法如何创建一个简单的宏并使用?%macro prtlast;proc print data=&syslast (obs=5);title...
分类:其他好文   时间:2014-11-29 18:44:32    阅读次数:2358
Freemarker宏和函数的用法和区别
1.宏(macro)写法:       下一页   尾页            ${buildPageUrl(url2,page.pageNum+1,page)}">(注:这个地方可以直接调用宏所在的FTL中的函数)下一页            尾页       引入方式: 调用方式:      2.函数(function)写法:         引入方式:调用方式: ${buildPageU...
分类:其他好文   时间:2014-11-27 14:32:38    阅读次数:220
Qt5的插件机制(6)--开发Qt插件时几个重要的宏
如何开发Qt插件,可以在Qt Assistant 中搜索"Qt Plugins"或"How to Create Qt Plugins",看看那篇manual中的介绍。 其中涉及到了几个宏 Q_DECLARE_INTERFACE( ClassName, Identifier) This macro associates the given Identifier (a string li...
分类:其他好文   时间:2014-11-21 06:59:25    阅读次数:195
sas宏(2),运行中创建宏与使用宏,proc sql创建宏, scl中宏处理(暂缺)
1:在程序运行中进行宏定义CALL routines that enable you to transfer information between an executing DATA step and the macro processor.You can use the SYMPUT routi...
分类:数据库   时间:2014-11-20 13:37:57    阅读次数:405
scala macro-使case copy易读
ps:好久没写blog了,1是没时间写,2也是没啥干货。最近终于积累了些东西,可以拿出来晒晒。哈哈。 先说需求吧,boss让我将case class copy 的代码简化,使之易读。 case?class?A(a:String,b:Int) case?class?...
分类:系统相关   时间:2014-11-17 19:50:32    阅读次数:302
第二章 接口与实现
2Exercises2.1 A preprocessor macro and conditional compilation directives, such as #if, could have been used to specify how divisiontruncates in Arith...
分类:其他好文   时间:2014-11-15 17:02:26    阅读次数:241
sas宏(1)、系统宏变量、自定义宏变量、输出宏值、大量实用宏函数、宏与text结合
SAS macro variablesenable you to substitute text in your SAS programs(替代作用,和c++的 #define 差不多)When you reference a macro variable in a SAS program, SAS...
分类:其他好文   时间:2014-11-13 15:55:51    阅读次数:2324
5.预处理
编译之前的处理指令A.宏定义a.//Like static constant#define NUM6//The truth of macro define is replacing the constant//Replace "sum(a, b)" with "a+b"#define sum(a, ...
分类:其他好文   时间:2014-11-10 15:22:20    阅读次数:155
439条   上一页 1 ... 37 38 39 40 41 ... 44 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!