标题:大家指教一下,这一般是什么原因?
只看楼主
ltdf
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2007-8-1
 问题点数:0 回复次数:3 
大家指教一下,这一般是什么原因?

--------------------Configuration: PersonInfoSys - Win32 Debug--------------------
Compiling...
SetSalaryDlg.cpp
f:\1\debug\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
F:\1\SetSalaryDlg.cpp(86) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no acceptable conversion)
F:\1\SetSalaryDlg.cpp(94) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no acceptable conversion)
Error executing cl.exe.

PersonInfoSys.exe - 2 error(s), 1 warning(s)
大家帮忙看看,红色的部分和蓝色的部分一般可能是由于什么原因?
谢谢!

搜索更多相关主题的帖子: 指教 
2007-08-25 23:50
余来
Rank: 6Rank: 6
等 级:贵宾
威 望:26
帖 子:956
专家分:18
注 册:2006-8-13
得分:0 

应该是语法错误吧


2007-08-26 09:30
Arcticanimal
Rank: 3Rank: 3
等 级:论坛游民
威 望:7
帖 子:341
专家分:20
注 册:2007-3-17
得分:0 
把出错的代码也给出来

try new catch
2007-08-26 11:22
ltdf
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2007-8-1
得分:0 

谢谢版主,原因我找到了,是我的一个成员变量定义错了类型,改过了就对了,谢谢!

2007-08-26 21:29



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




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

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