段帅龙 发表于 2006-12-9 20:27

[求助]用c语言作图,进行compile操作时!他出现如图所示呢?他说“unable to open

路过的大虾帮忙看一 下!为什么我输入进去弄好后!进行compile操作时!他出现如图所示呢?他说“unable to open include file ‘graphics.h’我知道是不能打开graphics.h这个头文件的意思!但不知道是为什么?要怎样才能解决?小弟在此先谢过了!<BR><BR><BR>

ba_wang_mao 发表于 2006-12-11 08:48

如果是TC++ for dos 或者bc++ for dos ,进入主菜单[Options]---&gt;[Linker]---&gt;[Libraries...]<BR>---&gt;将"Graphics Libaray"前面打勾即可。

neverTheSame 发表于 2006-12-11 13:00

<P>如果上楼的方法还不行的话,那就看一下设置<br><br>在TC2.0 编译器中,  应该是 [Options]---&gt;Directories---&gt;Include directories:[path]\INCLUDE<br>                                                      Library directories:[path]\LIB<br>                                                      Turbo C directory:  [path]<br>完后:Directories---&gt;Save options</P>
[align=right][color=#000066][此贴子已经被作者于2006-12-11 13:03:13编辑过][/color][/align]


页: [1]

编程论坛