| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 745 人关注过本帖
标题:typedef 的问题
取消只看楼主 加入收藏
michelle_012
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-9-24
收藏
 问题点数:0 回复次数:4 
typedef 的问题
typedef CMap<CString,LPCSTR,CRect,CRect&> CMapCSrtringToCRect;
这语句有错误吗?
还有他的确切意思是什么啊?
搜索更多相关主题的帖子: typedef 
2006-11-19 14:12
michelle_012
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-9-24
收藏
得分:0 
那也谢谢你!

2006-11-19 15:46
michelle_012
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-9-24
收藏
得分:0 
error C2143: syntax error : missing ';' before '<'
error C2059: syntax error : '<'
error C2238: unexpected token(s) preceding ';'
error C2146: syntax error : missing ';' before identifier 'mapStrToRect'
error C2501: 'CMapCStringToCRect' : missing storage-class or type specifiers
error C2501: 'mapStrToRect' : missing storage-class or type specifiers
error C2143: syntax error : missing ';' before '<'
error C2059: syntax error : '<'
error C2238: unexpected token(s) preceding ';'

error C2143: syntax error : missing ';' before '<'
error C2059: syntax error : '<'
error C2238: unexpected token(s) preceding ';'
error C2146: syntax error : missing ';' before identifier 'mapStrToRect'
error C2501: 'CMapCStringToCRect' : missing storage-class or type specifiers
error C2501: 'mapStrToRect' : missing storage-class or type specifiers
error C2143: syntax error : missing ';' before '<'
error C2059: syntax error : '<'
error C2238: unexpected token(s) preceding ';'
这是系统给我的提示!!

2006-11-19 16:05
michelle_012
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-9-24
收藏
得分:0 
怎么没有人回答我啊,是我说的不够具体吗??

2006-11-19 21:26
michelle_012
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-9-24
收藏
得分:0 
谢谢你,我昨天又试了一下,我写的也正确,就是没加头文件!

2006-11-20 13:12
快速回复:typedef 的问题
数据加载中...
 
   



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

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