//
// 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/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
宏类似于c中的函数,传入指定参数后执行,并且宏内部可以包含data步程序和条件运算符号。宏变量只是小小的变量、、、、(by the way作用也很大)1:宏的基本语法如何创建一个简单的宏并使用?%macro prtlast;proc print data=&syslast (obs=5);title...
分类:
其他好文 时间:
2014-11-29 18:44:32
阅读次数:
2358
1.宏(macro)写法: 下一页 尾页 ${buildPageUrl(url2,page.pageNum+1,page)}">(注:这个地方可以直接调用宏所在的FTL中的函数)下一页 尾页 引入方式: 调用方式: 2.函数(function)写法: 引入方式:调用方式: ${buildPageU...
分类:
其他好文 时间:
2014-11-27 14:32:38
阅读次数:
220
如何开发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
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
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 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
编译之前的处理指令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