摘要:
gcc编译C文件一共四步,预处理(Preprocess),编译(Compilation),汇编(Assembly)和链接(Linking) 1. 预处理(Preprocess) 预处理是预处理中会展开以#起始的行,包括#if、#ifdef、#if ndef、 #else 、 #elif 、 # en 阅读全文
摘要:
第一步:使用apt安装vim 第二步:行号及其tab建设置 添加如下文字 set nu //代码显示行号syntax on //关键词高亮显示set cindent //c 语法自动缩进set autoindent //新行自动缩进set shiftwidth=4 //缩进宽度 4set tabst 阅读全文
摘要:
第一步: 第二步: 第三步: 第四步: 完成! 阅读全文