hello.c:9:16: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration]
hello.c: In function ‘main’:
hello.c:9:16: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration]
? ? ?int maxNum=max(a1,a2);
hello.c: In function ‘main’:
hello.c:9:16: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration]
? ? ?int maxNum=max(a1,a2);
2018-11-19
舉報(bào)
2020-04-05
gcc版本太低的原因,接下去的視頻會講,需要聲明一下
2018-11-23
沒有聲明max
main上面加上int max(int a,int b);