#define
来源:互联网 发布:魔方社区网络覆盖 编辑:程序博客网 时间:2024/04/29 22:10
// define.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#define ___ "开始" //define相当于将前面定义的替换 遇到string就给替换
#define _ main // 替换可以使得代码混淆
#define __ int
#define ____ printf
#define _____ return
#define ______ 0
#define _______ "%s\n"
__ _ ()//这段代码也可以执行起来的
{
____(_______,___);
_____ ______;
}
#define UShort short
#define UIntint
#define PI 3.1415926
//____("%d\n",sizeof(short));
/*UShort a=-1;
UInt b=-1;
char d =1;
printf("%d\n",a);*/
/*int r=3;
double S=PI*r*r;//得到圆的面积
printf("%0.1f\n",S);*/
0 0
- #define
- define
- #define
- #define
- #define
- define
- #define
- define
- #define
- #define # ##
- #define
- #define
- define
- define
- #define
- #define
- #define
- #define
- Ubuntu 共享文件 samba服务器配置
- nodejs——搭建电影博客(session持久会话)
- NYOJ 488 素数环(DFS)
- iOS开发之初:一些常用的类别,,类别很强大.
- 名词普及——什么是BOM?
- #define
- Photoshop里标注UI尺寸的工具
- poj1475 Pushing Boxes
- Android ScrollView嵌套ListView只显示一行数据
- HDU 5775 Bubble Sort(冒泡排序的位置变换)
- Unity3D UGUI实现冷却时间的技能图标
- sizeof运算符(注:不是函数)
- HDU1241 Oil Deposits
- GZIP压缩原理分析(04)——第三章 gzip文件格式详解(三02) gzip文件头