![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 53
qiyazhuang
这个作者很懒,什么都没留下…
展开
-
makefile :missing seprator
学习makefile时,写了如下makefilesqrt : ex_4.o ex_3.o gcc -Wall ex_4.o ex_3.o -o sqrtex_4.o: ex_4.c gcc -c ex_4.cex_3.o : ex_3.c原创 2011-09-23 11:14:52 · 585 阅读 · 0 评论 -
Linux c 上的目标代码和链接
通常我们建立一个程序的基本步骤如下:标志-c表示gcc在编译阶段完成后就停止,即会生成main.o实例1:#include int odd(int n){if(1 == n%2) return 1;return 0;}代码存在e原创 2011-09-23 09:50:06 · 485 阅读 · 0 评论 -
Linux Unix C 中的curses库——curses.h
今天打算用curses.h写一个图形界面,结果发现hello.c:1: fatal error: curses.h: No such file or directory上网搜索了一下,才发现是少安装了curses库于是在新得立查找libncurses5-dev,点原创 2011-09-24 09:01:58 · 1464 阅读 · 0 评论