我使用的是 Windows 7-64 位。 Borland C++ 5.5 不工作。
测试文件Hello.c
#include<stdio.h>
int main(void)
{
printf("Hello world!\n");
return 0;
}
Error E2209 Hello.c 1: Unable to open include file 'stdio.h'
Warning W8065 Hello.c 5: Call to function 'printf' with no prototype in function main
* 1 errors in Compile *
我已经用这些配置制作了 bcc32.cfg 和 ilink.cfg
bcc32.cfg
-I"c:\Borland\BCC55\include"
-L"c:\Borland\BCC55\lib"
ilink32.cfg
-L"c:\Borland\BCC55\lib"
:困惑:
最佳答案
首先寻找你的include 和library 目录,看看它是否与你的borland C 目录选项中的相同
关于c - Borland C 5.5 编译器不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14028520/