摘要: 通过以下程序来练习 head.h ifndef HEAD_H define HEAD_H include int add(int,int); int sub(int,int); int mul(int,int); double div(int,int); endif add.c include "h 阅读全文
posted @ 2015-10-06 17:18 adacn 阅读(1372) 评论(2) 推荐(0) 编辑
摘要: vim编辑器 vi的三种模式:命令行模式(vi hello)、插入模式(i)、底行模式(ESC) 命令行模式功能键: 0(数字0) 光标移动到本行的开头 shift+$ 移动光标到所在行的行尾 G 光标移动到文件的最后 gg 移动到文件第一行 nG 光标移动到第n行 n 光标向下移动n行 x 删除光 阅读全文
posted @ 2015-10-06 15:35 adacn 阅读(329) 评论(5) 推荐(1) 编辑