我正在使用BorlandC和Windows 7。
当我编译文件时,我收到了这些错误:
Error Assign.C : Unable to open include file 'stdio.h'
Error Assign.C : Unable to open include file 'conio.h'
Error Assign.C : Unable to open include file 'dos.h'
Error Assign.C : Unable to open include file 'stdlib.h'
我做错了什么?
答案 0 :(得分:3)
检查bcc32.cfg文件(应该与bcc32.exe在同一目录中)它应该包含:
-ID:\ BORLANDC \包含
假设包含文件可以在D:\ BorlandC \ Include
中找到答案 1 :(得分:0)
安装 Borland 后,进入 bin 文件夹 -
-I"C:\Borland\Bcc55\include"
-L"C:\Borland\Bcc55\lib"
我的 bin 文件夹在 C:\Borland\Bcc55
-L"C:\Borland\Bcc55\lib"
并检查是否为 borland 编译器设置了路径变量,如果 borland 已安装,我认为该变量已设置。 以下是检查方法 -
C:\Borland\Bcc55\Bin
的东西,如果它不存在,则通过单击新建添加此路径。点击确定。大功告成。