88问答网
所有问题
cpp(1) : fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory
该如何解决这个问题呢,我的程序是在Microsoft Visual C++ 6.0环境下运行的.
举报该问题
推荐答案 推荐于2016-06-08
#include <graphics.h>是TC里面的图形库,如果要用的话应该用TC来编译,VC++有他自己的另外图形库,在VC中的图形库
是 Wingdi.h ,你只要 #include <windows.h> 就可以了,因为其中包含了。
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://88.wendadaohang.com/zd/VStcMgSt.html
相似回答
...程序都会弹出1083错误?
fatal
error
C1083:
Cannot
open
答:
然后用这个头文件(.H)来生成一个预编译头文件(.PCH)VC默认的头文件就是StdAfx.h,因为头文件是不能编译的,所以我们还需要一个.
CPP
文件来作桥梁,VC默认的文件为StdAfx.cpp,这个文件里只有一句代码就是:#include "StdAfx.h".接下来要用它生成.PCH文件,...
...
fatal
error
C1083:
Cannot
open
include
file:
'
graphics.h
': No...
答:
这个提示是说没有找到
graphics
.h 这个文件。graphics.h 最早是 tc 里面的图形库,后来在 vc 下有很多类似的兼容库,国内比较常见的方法就是安装 easyx,然后就可以在 vc 里面用 graphics.h。
fatal
error
C1083:
Cannot
open
include
file:
'
graphics.h
': No...
答:
就是找不到
graphics.h
头文件.<graphics.h> 是TC里面的图形库,如果要用的话应该用TC来编译.在VC中是没有graphics.h头文件的. 因为VC有MFC...如果你要在VC中使用graphics.h中的函数的话.可以到这个网址下载该头文件. http://hi.baidu.com/yangw80/blog/item/609d14019f09fddc267fb56b.html具...
fatal
error
C1083:
Cannot
open
include
file:
'graphs.
h
': No s...
答:
你的graphs.h这个文件没哟找到,意思是说你可能没有把这个文件放到当前文件夹或者你用的是<graphs.h>这个括号而不是"graphs.h"这个双引号。要是你之前用的是双引号那你就该为<graphs.h>看看,一般情况下用KEIL C是可以混用的,但是用IVCC之类的编译器有时候不行。
...
fatal
error
C1083:
Cannot
open
include
file:
答:
检查开发环境的
include
路径设置。VC6 在 工具->选项->目录 VS2008 在 工具->选项->项目和解决方案->VC++目录 然后去下拉列表里找"include
files
"或者"包含文件",检查列表中的路径是否包含了VC的include 路径。比如我的VS2008装到了C盘,那么stdio.h所在的路径是:C:\Program
Files
\Microsoft Visual...
...
fatal
error
C1083:
Cannot
open
include
file:
'
graphics.h
': No...
答:
未发现
graphics.h
头文件,可能原因如下 编译时未包含改文件路径 该头文件名称写错 该头文件路径写错
...
fatal
error
C1083:Cannot
open
include
file:
答:
进入Tool > Options > Intel(R) Fortran > Compiler > Libraries 加入$(VCInstallDir)lib 有问题再交流。=== 我认为和装在哪个盘没关系。能否说一下你都加载了什么库?Tool > Options > Intel(R) Fortran > Compiler > Libraries 你再看看Project > Properties > Linker里面关于Libraries的设置有没...
...
fatal
error
C1083:
Cannot
open
include
file:
'graph.
h
': No su...
答:
找不到这个头文件呗,TC2中的图形库头文件应该是
graphics.h
而且这个图形库只能在低版本的TC(如TC2.0)中使用,不要尝试在VC++中使用它。
大家正在搜
win10fatal error
fatal disk error
port open error
open heat error
opencppcoverage
open cpp file
fileopenerror中文
fatal error怎么关闭
fatal error关不掉