c语言:宏的使用举例
2015-12-25 00:03
260 查看
宏的使用举例
#include<stdio.h>
#define reg register
#define do_forever for(;;)
int main()
{
int reg n = 10;
do_forever;
return 0;
}
本文出自 “岩枭” 博客,请务必保留此出处http://yaoyaolx.blog.51cto.com/10732111/1728066
#include<stdio.h>
#define reg register
#define do_forever for(;;)
int main()
{
int reg n = 10;
do_forever;
return 0;
}
本文出自 “岩枭” 博客,请务必保留此出处http://yaoyaolx.blog.51cto.com/10732111/1728066
相关文章推荐
- 简短的c++程序
- 实战c++中的智能指针unique_ptr系列-- std::unique_ptr的构造(尽量使用C++14中的std::make_unique,而不是new)
- 实战c++中的智能指针unique_ptr系列-- std::unique_ptr的构造(尽量使用C++14中的std::make_unique,而不是new)
- c语言:输出一个数组,判断是否存在问题,若有,请找出问题并改正
- c语言
- c语言项目总结
- c语言
- C++ 纯虚函数
- C++函数pow()精度丢失问题
- Leetcode 9 - Palindrome Number
- C/C++判断文件是否存在
- 2015/12/24:嵌入式C语言的位操作随笔
- 2015/12/24:嵌入式C语言的位操作随笔
- 2015/12/24:嵌入式C语言的位操作随笔
- Leetcode 8 - String to Integer (atoi)
- 一起talk C栗子吧(第八十二回:C语言实例--简单圣诞树)
- 算术表达式语法分析
- C语言变量
- 实战c++中的智能指针unique_ptr系列-- 使用std::unique_ptr代替new operator(错误:‘unique_ptr’ is not a member of ‘std’)
- 实战c++中的智能指针unique_ptr系列-- 使用std::unique_ptr代替new operator(错误:‘unique_ptr’ is not a member of ‘std’)