i started linux trip a few months ago. With some obstacle,i have not made any progress on linux. toady is the brandnew start,on which i get to love it. it it really my favorite,better than anything else.
i only test a command ,or exactly not a command.just a way to run c.
below is the result of it:
chrysanthemumwolf@chrysanthemumwolf-laptop:~$ gcc power.o compute.o -o power -lm
chrysanthemumwolf@chrysanthemumwolf-laptop:~$ make
make: “power”是最新的。
chrysanthemumwolf@chrysanthemumwolf-laptop:~$ touch power
chrysanthemumwolf@chrysanthemumwolf-laptop:~$ make
make: “power”是最新的。
chrysanthemumwolf@chrysanthemumwolf-laptop:~$ ls
compute.c examples.desktop makefile nmap-5.00 power power.o sweetmemory.mp3 公共的 视频 文档 照片 桌面
compute.o libflashplayer.so mskefile PHPEclipse_1.2.2_src.zip power.c StdAfx.h.gch workspace 模板 图片 音乐 种子复活计划.doc
chrysanthemumwolf@chrysanthemumwolf-laptop:~$ ./power
input x,y1 2
x^y= 1.000chrysanthemumwolf@chrysanthemumwolf-laptop:~$