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

我是个VC++及OPENGL初学者,我在本站"OpenGL编程轻松入门之一个简单的例子"
http://www.bc-cn.net/Article/kfyy/vc/jc/200609/4383.html
那里把例子按照上面所说的把那例子照搬到我的VC++ 6.0 里去,可是运行的时候出错:
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(8) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(8) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(13) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(13) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(15) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(15) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(16) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(16) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(18) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(18) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(19) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(19) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(21) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(21) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(22) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(22) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(24) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(24) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(25) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(25) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(26) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(26) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(28) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(28) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(33) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(33) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(35) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(35) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(36) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(36) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(38) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(38) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(39) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(39) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(39) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(39) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(40) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(40) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(41) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(41) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(41) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(41) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(42) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(42) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(42) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(42) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(47) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(47) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(48) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(48) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(49) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(49) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(50) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(50) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(51) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(51) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(53) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(53) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(54) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(54) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(56) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(56) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(57) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(57) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(58) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(58) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(59) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(59) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(61) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(61) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(62) : error C2018: unknown character '0xa1'
D:\Program Files\Microsoft Visual Studio\test\OL_1026_01\main.cpp(62) : error C2018: unknown character '0xa1'
执行 cl.exe 时出错.

OL_1026_01.exe - 1 error(s), 0 warning(s)


请问这是怎么回事呀??

[此贴子已经被作者于2006-10-26 7:26:51编辑过]

搜索更多相关主题的帖子: 例子 教程 
2006-10-26 07:25
陆哈哈
Rank: 1
等 级:新手上路
帖 子:28
专家分:0
注 册:2005-4-17
收藏
得分:0 

诚望高手们帮忙解答~!

2006-10-28 08:45
陆哈哈
Rank: 1
等 级:新手上路
帖 子:28
专家分:0
注 册:2005-4-17
收藏
得分:0 
问题已经解决~!
后来把网页的源码复制到VC++后我注意到其中的注意颜色没有变,我就想这一定是复制的时候可能是把网页的一些看不到的东西也一起放过去了,所以就这样,于是我就手工输入,结果就搞定了~!
2006-10-28 09:43
快速回复:[求助]照搬本站教程例子出的问题
数据加载中...
 
   



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

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