為什么#include "test.c"需要注釋掉才能通過編譯
#include <stdio.h>
//#include "test.c" ? //引用test.c文件
extern void printLine() ? ? //這里定義的方法對嗎?
{
? ?printf("**************\n"); ??
}
int main()
{
? ? say();
? ? return 0;
}
#include <stdio.h>
//#include "test.c" ? //引用test.c文件
extern void printLine() ? ? //這里定義的方法對嗎?
{
? ?printf("**************\n"); ??
}
int main()
{
? ? say();
? ? return 0;
}
2017-09-13
舉報
2017-09-23
但是沒有include 的話, 怎么能使用里面的say()???
2017-09-14
因為,不注釋掉的話,就相當于printLine沒有聲明就先用了