Turbo C 编程中“Unable to open include file 'stdio.h'”问题的解决
来源:互联网 发布:卫生计生监督网络培训 编辑:程序博客网 时间:2024/06/07 17:29
问题:
初学Turbo C,不知道为什么,每次写完一个程序要编译的时候,总出现Error: c:/**/**.c Unable to open include file 'stdio.h' 为什么每次都打不开“stdio.h"呢?我看过了,它在Include文件下,好好的呀。也试过把下载并安装的其它的TurboC的Stdio.h文件复制过来,还是没用。。。
解决方法:
include <stdio.h>表示搜索stdio.h这个文件的路径在option中指定的位置
include "stdio.h"表示搜索stdio.h这个文件的路径在当前工作文件所在的位置
即""与<>表示搜索的路径不同
所以,需要在turbo c 下面设置路径,具体操作如下:
1、options->directories->include directories会打开一个小窗口,目前你的include文件夹在什么路径下,就设置成什么
2、options->directories->lib directories会打开一个小窗口,目前你的lib文件夹在什么路径下,就设置成什么
3、optone->save options,然后turbo c会问是否保存,选择是,接着会问是否覆盖以前的TCCONFIG文件,选择是。
这样,下次你的程序就可以正确访问到程序中include中所指定的头文件了.
如图设置:
- Turbo C 编程中“Unable to open include file 'stdio.h'”问题的解决
- 解决borland c++调试中“unable to open include file 'stdio.h'”的问题
- BCB的E2209:Unable to open include file *.h
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':问题的解决
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':问题的解决
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':问题的解决
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':问题的解决
- gcc 关于fatal error: stdio.h: No such file or directory #include<stdio.h>的问题
- TurboC中出现Unable to open STDIO.H等系统头文件解决方法
- C语言编译错误 fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
- Microsoft Visual C++ 6.0 (SP6) 中can not open include file "afxres.h"问题的解决方案
- Microsoft Visual C++ 6.0 (SP6)中 can not open include file "winresrc.h"问题的解决方案
- MinGW下编译C++,Cannot open include file: 'sdkddkver.h': No such file or directory的解决
- c语言中头文件#include <stdio.h>和#include "stdio.h"有什么区别?
- C语言stdio库(#include<stdio.h>)
- 谈谈#include和#include"stdio.h"的效率问题
- 解决sqllite的'unable to open database file'错误
- unable to open database file的原因与解决
- Dorado学习笔记
- 让开发自动化: 用 Eclipse 插件提高代码质量
- (转)ASP.NET中基类页的设计和使用
- 随机排列与八卦太极的联系
- 启动隐藏对话框
- Turbo C 编程中“Unable to open include file 'stdio.h'”问题的解决
- Beauty of simpleness
- 做个程序设计者,但不是代码编写者
- 使用Cassini取代IIS做为Web服务器(这一过程中必要注意的事情)
- c# 下载服务器端文件,服务器再删除文件
- 今天正式开始我的BLOG
- 什么是Web 2.0(五)
- 一种做事的精神,记师傅陕北吴旗娃
- 通过双缓冲解决LinearGradientBrush的抗锯齿BUG