哪位高手帮我解决这道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