打印

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

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

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

哪位高手帮我解决这道linux脚本题,我想了很长时间都没有搞定,我列在下面
Write an ANSI C code. Use a Makefile to build it (including compile and link) into binary file.
The function of this binary file should be:
Read a serial of numbers from a given file, and then find the Top 5 maximum numbers.
You should give:
1. Makefile ( hint : one main file and one sub-routine file )
2. all C source code
3. the whole procedure of how you compile and link

TOP

程序一样,你再看下Makefile编写方法就可以了.
xxxxxxxxxxxxxxxxxxx
欢迎访问我的博客

TOP

现在才看到这个问题,^_^,如果楼主还需要的话,就和我联系吧!
xiaoqingsnnu@yahoo.com
makefile 就只要一句话就可以了(p.cpp  p.h) makefile
p:p.cpp p.h
(tab 键)g++ -o p p.cpp p.h
编译时只要运行make命令即可
坚持一个目标

TOP