最赞回答 / qq__3559
因为文件hello.c的printLine()函数和test.c中的say()函数是被相互引用的,因此这两个函数都应为外部函数,在两个文件中都必须声明引用。所以小编的答案是错误的!具体代码如下:hello.c文件中:#include <stdio.h>#include "test.c" //引用test.c文件extern void say();void printLine() //这里定义的方法对吗?{ printf("**************\n"); }int m...
2016-01-18