摘要:
一,宏的定义与撤销 #普通宏定义 #define PI 3.14 //编译阶段替换掉宏 #define T1 3+4 //容易产生歧义 #define T2 (3+4) //添加括号后,语义清楚 float r = 1.0; float area = PI * r * r; int a = 2* T 阅读全文
摘要:
Definition: The #define Directive You can use the #define directive to give a meaningful name to a constant in your program. The two forms of the synt 阅读全文
摘要:
编译 编译 简介 glib 可调试 /configure CFLAGS=-g && make && make install or make CFLAGS=-g 简介 原文地址: http://laiyuanyuan7.blog.163.com/blog/static/152743212011210 阅读全文