main.c程序#include <stdio.h>#include "test.c"http://引用test.c文件int printLine() ? ? //這里定義的方法對嗎?{? ?printf("**************\n");}int main(){? ? say();? ? return 0;}test.c文件#include <stdio.h>?extern void say() {? ? ? printLine();? ? printf("I love imooc\n");? ? printf("good good study!\n");? ? printf("day day up!\n");? ? ?printLine();}
- 1 回答
- 0 關(guān)注
- 1211 瀏覽
添加回答
舉報
0/150
提交
取消