這個完全沒警告 哎
#include <stdio.h>
#include "test.c"? ?//引用test.c文件
extern void printLine()? ? ?//這里定義的方法對嗎?
{
? ?printf("**************\n");? ?
}
int main()
{
? ? void say();
? ? return 0;
}
#include <stdio.h>
static void say(){
? ? void printLine();
? ? printf("I love imooc\n");
? ? printf("good good study!\n");
? ? printf("day day up!\n");
? ? void printLine();
}
2021-03-19
void say();
這句沒有void,你加了void就是空函數了