发布时间:2014-06-24 23:58:16
#include <stdio.h>#define EMPTY#define CHECK1(x, ...) if (!(x)) { printf(__VA_ARGS__); }#define CHECK2(x, ...) if ((x)) { printf(__VA_ARGS__); }#define CHECK3(...) { printf(__VA_ARGS__); }#define MACRO(s, ...) printf(s, __VA_ARGS__)int main() { CHECK1(0, "here %s %s %s", "are", "some", "v.........【阅读全文】
发布时间:2014-05-19 17:44:29
char letter = 'A';printf("letter = %d , letter = 0x%x , letter = 0%o \n", letter, letter, letter);------------------------------------------------------------------------------------------------------------------%d 10进制%x 16进制%o 8进制%% 输出字符 '%' ,.........【阅读全文】
发布时间:2014-05-19 17:24:31
-------------------------------------------------------------------------------------------------------------------1. char --> int 特别注意char 的最高符号位是1的情况下的赋值-----------------------------------------------------------------------------------------------------------------.........【阅读全文】