| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2315 人关注过本帖
标题:[求助]vc++6.0下图形编程的一个问题
只看楼主 加入收藏
lizhijie
Rank: 1
等 级:新手上路
帖 子:60
专家分:0
注 册:2007-4-28
收藏
 问题点数:0 回复次数:5 
[求助]vc++6.0下图形编程的一个问题

我用vc++,却老是显示如下错误!
fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory
执行 cl.exe 时出错.

知道怎么办的请帮一下忙啊,不胜感激!
搜索更多相关主题的帖子: 图形 
2007-05-05 10:00
福尔摩斯
Rank: 5Rank: 5
等 级:贵宾
威 望:12
帖 子:4011
专家分:370
注 册:2006-8-15
收藏
得分:0 
graphics.h

这个头文件找不到

如果你这个头文件是在别的地址那么请你这样写(比如在C盘,windows文件夹下)

#include"C:\windows\graphics.h"

自我放逐。。。
2007-05-05 13:00
jiangzw625
Rank: 1
等 级:新手上路
帖 子:119
专家分:0
注 册:2006-3-27
收藏
得分:0 
回复:(lizhijie)[求助]vc++6.0下图形编程的一个问题...
vc++编译器没有那个头文件阿
vc里做图形都用GDI,做游戏用Direct3D

马马乎乎
2007-05-05 13:44
lizhijie
Rank: 1
等 级:新手上路
帖 子:60
专家分:0
注 册:2007-4-28
收藏
得分:0 

我把那个头文件安2楼说法包含进来了,但是又有新问题了: 好像问题就出在(far)上
d:\tc\tc20\graphics.h(241) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(243) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(244) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(246) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(247) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(248) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(249) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(250) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(250) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(250) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(251) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(251) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(252) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(254) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(255) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(255) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(256) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(257) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(257) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(258) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(258) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(258) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(259) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(260) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(261) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(262) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(263) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(263) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(264) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(264) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(265) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(266) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(267) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(268) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(268) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(269) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(270) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(271) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(272) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(273) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(274) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(274) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(275) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(276) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(277) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(277) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(278) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(279) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(279) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(280) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(280) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(281) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(282) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(283) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(284) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(285) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(285) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(286) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(286) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(287) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(288) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(289) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(289) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(290) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(291) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(292) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(292) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(292) : error C4226: nonstandard extension used : 'huge' is an obsolete keyword
d:\tc\tc20\graphics.h(293) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(293) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(294) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(295) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(296) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(297) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(298) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(299) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(299) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(300) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(300) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(301) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(303) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(303) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(304) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(305) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(306) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(307) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(309) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(310) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(310) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(311) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(312) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(313) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(314) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(314) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(315) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(316) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(317) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(318) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(320) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(321) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(323) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(324) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(325) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(327) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(329) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(330) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(331) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(331) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(332) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(332) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(337) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(337) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(349) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(349) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(350) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(350) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(351) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(351) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(352) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(352) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(353) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(353) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(354) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(354) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(360) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(360) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(370) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(370) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(371) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(371) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(372) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(372) : warning C4229: anachronism used : modifiers on data are ignored
d:\tc\tc20\graphics.h(373) : error C4226: nonstandard extension used : 'far' is an obsolete keyword
d:\tc\tc20\graphics.h(373) : warning C4229: anachronism used : modifiers on data are ignored

2007-05-05 13:50
csight
Rank: 1
等 级:新手上路
威 望:1
帖 子:293
专家分:0
注 册:2006-6-11
收藏
得分:0 
同3楼;
C++中没有”grahics.h“

头可断,发型不可乱;血可流,皮鞋不可不擦油;
2007-05-05 14:14
nuciewth
Rank: 14Rank: 14Rank: 14Rank: 14
来 自:我爱龙龙
等 级:贵宾
威 望:104
帖 子:9786
专家分:208
注 册:2006-5-23
收藏
得分:0 
VC不支持grahics.h
它不是用这个的,具体的到图形区看一下.

倚天照海花无数,流水高山心自知。
2007-05-05 15:10
快速回复:[求助]vc++6.0下图形编程的一个问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020187 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved