為什么會(huì)運(yùn)行失敗
#include <stdio.h>
#include "test.c"?? //引用test.c文件
extern void printLine()???? //這里定義的方法對(duì)嗎?
{
?? printf("**************\n");??
}
int main()
{
??? say();
??? return 0;
}
#include <stdio.h>
#include "test.c"?? //引用test.c文件
extern void printLine()???? //這里定義的方法對(duì)嗎?
{
?? printf("**************\n");??
}
int main()
{
??? say();
??? return 0;
}
2020-08-14
舉報(bào)
2020-10-03
還需要把test.c里面say改成static,就成功了