【发布时间】:2011-06-29 05:26:46
【问题描述】:
我能否逐步了解如何使用 Tiny C 编译器和 Windows 提示符编译我的 file.c?
我已经有一些问题:
- 我应该将下载的所有 TCC 文件粘贴到哪里?
- 是否必须编译 stdio.h 才能使用 printf 函数? (我想做一个“Hello World”)。
这就是我的 file.c 的样子:
// #include <stdio.h> // for printf
int main(void){
printf("Hello Eric. You've compiled and run the program! \n");
}
谢谢,
编辑 1
到目前为止,我正在运行它并收到错误:找不到包含文件“stdio.h”。
【问题讨论】:
标签: c windows compiler-construction tcc