摘要: makefile linux makefile 的简单示例 假如有三个源文件program.c、pro1.c、pro2.c,program.c文件包含有自定义的头文件lib.h,要求生成可执行文件program。 文件目录结构 $(opt)=-g -Wall -c test: prgogram.o 阅读全文
posted @ 2019-04-04 16:07 Howbin 阅读(345) 评论(0) 推荐(0)
摘要: linux gdb linux 测试代码 #include <stdio.h> #include <stdlib.h> static char buf[255]; static char *str; int main() { printf("Please input a string:\n"); g 阅读全文
posted @ 2019-04-04 13:55 Howbin 阅读(265) 评论(0) 推荐(0)