哪里錯(cuò)了呢
#include
#include "test.c" ? //引用test.c文件 extern void printLine() ? ? //這里定義的方法對(duì)嗎? { ? printf("**************\n"); ? } int main() { ? ?say(); ? ?return 0; }哪里錯(cuò)了呀#include
#include "test.c" ? //引用test.c文件 extern void printLine() ? ? //這里定義的方法對(duì)嗎? { ? printf("**************\n"); ? } int main() { ? ?say(); ? ?return 0; }哪里錯(cuò)了呀2018-01-22
舉報(bào)
2018-01-22
你應(yīng)該是沒(méi)注意到上方
test.c中
#include <stdio.h>
extern void printfLine();
static void say(){
? ? printLine();
? ? printf("I love imooc\n");
? ? printf("good good study!\n");
? ? printf("day day up!\n");
? ? printLine();
}