发新话题
打印

哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定

哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定

哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定
- j! [. j. @3 _; V( k# k
2 t7 F6 w3 v9 I. R  z" O/ ]! d哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定,我列在下面. c, F# x) o% C, F
Write an ANSI C code. Use a Makefile to build it (including compile and link) into binary file.
: l" L  X2 U: k1 RThe function of this binary file should be:
: O% J9 J& p  ?5 a8 _/ E# l7 yRead a serial of numbers from a given file, and then find the Top 5 maximum numbers.
  d- w, X5 E/ Z8 m; |" |: V& w, HYou should give:
, L$ c( i$ d. F0 Q1. Makefile ( hint : one main file and one sub-routine file ) 0 G7 u% o( a! S, y; K
2. all C source code : d+ l0 p8 a! x; R) x
3. the whole procedure of how you compile and link

TOP

脚本?那段英文哪里提到脚本了?审题都审不清还是根本就不懂什么叫脚本什么叫源程序什么叫Makefile什么叫编译?
上帝说,有问题,找GOOGLE 写程序是很神圣的事情!同样只是装系统,卖菜的大娘会的事情不见得就跟卖菜一样了。

TOP

楼上的误会了,他已经在shell版发了一大堆题,可能是剩下这些解不了了,我建议他到c来,
6 G( ~/ t$ Z( @+ F1 W我的建议是:makefile 可以用automake写,code就比较简单了,第三个问题:编译和连接的过程怎么阐述?
若不是因为风,雨不会美丽!

TOP

Makefile的用法写法,精华里有,要想学自己还不会看吗?
上帝说,有问题,找GOOGLE 写程序是很神圣的事情!同样只是装系统,卖菜的大娘会的事情不见得就跟卖菜一样了。

TOP

发新话题