https://blog.csdn.net/qq_33001647/article/details/89713391
2019-04-30
提前生成max.o文件,然后編寫max.h聲明max函數(shù),最后在main函數(shù)前面通過添加#include“max.h”,形成頭文件和函數(shù)分離定義
2019-03-13
講得還是不錯的,內(nèi)容簡潔直觀,邏輯清晰。能從繁雜的整個Linux知識庫中提取出需要的精煉的東西,讓學(xué)習(xí)者建立起了Linux系統(tǒng)與C程序的交互的能力,還是很厲害的。謝謝!
2019-02-23
內(nèi)容表達(dá)細(xì)節(jié)上有欠缺,很多簡寫英文,因為把對應(yīng)的含義說一下,這樣方便理解和記憶,這個講師可能英語不過關(guān),要不然一般都會在提到新功能的簡寫時順帶著說這個簡寫是哪些英語的全稱簡寫。
2019-02-10
按老師說的輸入gcc max.c hello.c -o main.out后就報錯了,不知道為什么?
2018-11-19
#This is Mikefile
OBJ:=hello.out
cc:=gcc
$(OBJ):max.o min.o hello.c
$(cc) max.o min.o hello.c -o hello.out
max.o:max.c
$(cc) -c max.c
min.o:min.c
$(cc) -c min.c
.PHONY:clean
clean:
-rm ./*.o $(OBJ)
OBJ:=hello.out
cc:=gcc
$(OBJ):max.o min.o hello.c
$(cc) max.o min.o hello.c -o hello.out
max.o:max.c
$(cc) -c max.c
min.o:min.c
$(cc) -c min.c
.PHONY:clean
clean:
-rm ./*.o $(OBJ)
2018-11-10