发新话题
打印

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

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

哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定 % q4 ~! }6 {8 h
8 t) @+ |! {* B) k2 E# f" e( `
哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定,我列在下面
& l. ]. _" Q6 t$ p0 bWrite an ANSI C code. Use a Makefile to build it (including compile and link) into binary file.
; q- ~; Y6 k' y9 A/ gThe function of this binary file should be: " J; l7 R) _+ \) C9 |
Read a serial of numbers from a given file, and then find the Top 5 maximum numbers.
6 j) w/ g" ]% V4 [2 ?You should give:
" L3 a1 {- W7 J- x- x5 o1. Makefile ( hint : one main file and one sub-routine file )
  t% _2 }& L- N2. all C source code 6 W" r/ j- F% B. V0 t8 ~
3. the whole procedure of how you compile and link      

TOP

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

TOP

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

TOP

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

TOP

发新话题