B
bm1968
Sorry, I have an absolute newbie question...
Can you please tell me what I'm doing wrong here? Compiler says "Missing
";" before '&&' and when I click the error, it points to the first line
of the code below
if ( lLeft > 0 ) && ( lTop > 0 ) && ( lWidth > 0 ) && ( lHeight > 0)
{
//DoSomething;
if( myaverage->total == 0)
{
std::cout<<"\a"<<endl;
}
//DoSomething;
}
Thanks a lot!
BM
Can you please tell me what I'm doing wrong here? Compiler says "Missing
";" before '&&' and when I click the error, it points to the first line
of the code below
if ( lLeft > 0 ) && ( lTop > 0 ) && ( lWidth > 0 ) && ( lHeight > 0)
{
//DoSomething;
if( myaverage->total == 0)
{
std::cout<<"\a"<<endl;
}
//DoSomething;
}
Thanks a lot!
BM