請(qǐng)大神幫幫忙
#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-01-10
舉報(bào)
2020-01-10
staitic void say
2020-01-10
打開那個(gè)test.c文件 在方法面前加上static靜態(tài)類型static void printLine