摘要: #include <stdio.h> int main() { printf("the size of 'char': %d Byte\n", sizeof(char)); printf("the size of 'short int': %d Byte\n", sizeof(short int)) 阅读全文
posted @ 2021-10-08 22:17 ZhengQC 阅读(282) 评论(0) 推荐(0)
摘要: 程序的翻译环境和执行环境 在ANSI C的任何一种实现中,存在两个不同的环境。 翻译环境: 在此环境中源代码被转换为可执行的机器指令; 执行环境: 它用于运行程序. 程序的编译 预处理: gcc -E hello.c -o hello.i 本质是文本操作 头文件的插入 宏定义的替换 条件编译的处理 阅读全文
posted @ 2021-10-08 09:33 ZhengQC 阅读(85) 评论(0) 推荐(0)