游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1603|回复: 1

求问

[复制链接]

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2009-2-8 21:08:00 | 显示全部楼层 |阅读模式
//========全局变量========
int OPENGL;  int m_OpenGL;
HDC     hDC;
HGLRC   hRC=NULL;
HWND    hWnd=NULL;
int Width=800;
int Height=600;
int bits=16;
bool Lbutdown;
bool Rbutdown;
CString filename;
=========================
有人知道最后一行中错在哪吗?我怎么看不明白-
-------------------Configuration: 3D场景编辑器 - Win32 Debug--------------------
Compiling...
3D场景编辑器.cpp
G:\办公软件\VC++.6.0.with.SP6\VC6EN\MyProjects\3D场景编辑器\3D场景编辑器.cpp(18) : error C2146: syntax error : missing ';' before identifier 'filename'
G:\办公软件\VC++.6.0.with.SP6\VC6EN\MyProjects\3D场景编辑器\3D场景编辑器.cpp(18) : error C2501: 'CString' : missing storage-class or type specifiers
G:\办公软件\VC++.6.0.with.SP6\VC6EN\MyProjects\3D场景编辑器\3D场景编辑器.cpp(18) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\3D场景编辑器.sbr': No such file or directory
Error executing bscmake.exe.

3D场景编辑器.exe - 4 error(s), 0 warning(s)
错误提示如上,有人知道吗?

227

主题

1793

帖子

1866

积分

金牌会员

Rank: 6Rank: 6

积分
1866
发表于 2009-2-11 09:58:00 | 显示全部楼层

Re:求问

CString...............楼上就这么喜欢MFC么
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-20 08:42

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表