#include <stdio.h>
void foo(void);
void foo(int repeatCount) {
int i;
for (i = 0; i < repeatCount; i++) {
printf("\nHello World\n");
}
}
int main(int argc, char *argv[]) {
printf("main");
}
这篇文章主要是关于IT技术的,需要翻译成中文。请注意保留HTML标记,以下是需要翻译的内容:
这个程序意在使用C语言编写,而不是C++。VS中保存的文件是.c文件,IDEOne中配置的程序也是C文件。
函数原型与函数定义不匹配。