摘要: int main() { int *p = (int *)0x12ff7c; printf("从0x12ff7c地址获取到的数据是:%d\n",p); *p = 0x100; // 将0x100写入地址0x12ff7c printf("从0x12ff7c地址获取到的数据是:%d\n",p); } 声 阅读全文
posted @ 2021-04-17 17:53 Coder个人博客 阅读(111) 评论(0) 推荐(0)
摘要: 预处理指令 预处理名称意义#define宏定义#undef撤销已定过的宏#include使编译程序将领一源文件嵌入到带有#include的源文件中#if #if的一般意义是:如果#if后面的常量表达式为true,则编译它与#endif之间的代码,否则跳过这段代码。 命令#endif表示一个#if块的 阅读全文
posted @ 2021-04-17 17:23 Coder个人博客 阅读(21) 评论(0) 推荐(0)