在cmd中找不到stdio.h文件

时间:2015-08-01 07:02:32

标签: c++ compilation turbo-c++

我在Windows 7中安装了turbo c ++ 所以当我在c目录中安装时,我也设置了像这样的环境变量

c:\turboc4\tc\bin

并且我在turbo蓝色窗口中设置命令,例如options-directories-and set

 c:\turboc4\tc\include
c:\turboc4\tc\lib

现在当我打开cmd然后输入tcc C:\TurboC4\TC\BIN\hello.c 然后我输入hello.c 发生错误

"Unable to open include file 'stdio.h'

图片文件 image

图像2 BULUE SCREEN BLUE SCREEN IMAGE

任何帮助

1 个答案:

答案 0 :(得分:0)

<强>尝试

如果您遇到类似问题,首先将TC文件夹放入C:..驱动器。安装完成后打开turbo c蓝屏。有一个OPTIONS&gt;目录..你可以看到设置路径的选项..

include directories..you can set path there now.. C:\TC\INCUDE
libraries Directories..you can set path there...C:\TC\LIB
if you want to store your output in BIN then you can set..C:\TC\BIN..otherwise you can set another path where you want to store your output..

最后,您可以提供OK和已完成的流程..现在可以正常使用