funky error
HEy.. im gettin some kind of fucky error here..whats goin wrong??
if (overwrite != 1 && sales_person = 1)
{
/////////code in here/////
}
when i compile i get this error
error C2106: ''='' : left operand must be l-value
overwrite is a int variable..
thanx in advance
BAHcows go moomoos go cow
alos getting this error...
warning C4305: ''='' : truncation from ''const int'' to ''bool''when I do this
if (overwrite != 1 && sales_person = 2)
{
///////code
}
warning C4305: ''='' : truncation from ''const int'' to ''bool''when I do this
if (overwrite != 1 && sales_person = 2)
{
///////code
}
BAHcows go moomoos go cow
alos getting this error...
warning C4305: ''='' : truncation from ''const int'' to ''bool''when I do this
if (overwrite != 1 && sales_person = 2)
{
///////code
}
warning C4305: ''='' : truncation from ''const int'' to ''bool''when I do this
if (overwrite != 1 && sales_person = 2)
{
///////code
}
BAHcows go moomoos go cow
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement