随笔 - 40, 文章 - 0, 评论 - 19, 引用 - 0
数据加载中……

Undefined symbol: 'int operator==(enum TTrue, int)

Symbian C++ :

Undefined symbol: 'int operator==(enum TTrue, int)

TBool is ;
if( is == ETrue );

这种写法是错误的不能build
正确的方法是写成       if( is )

而且即使这种是正确的,写类似的代码也看起来太差劲了!

@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

posted on 2011-10-31 19:43 hadn't 阅读(197) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理