标题: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



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-103992-1-1.html




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

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