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
>Compiler says "Missing
>";" before '&&' and when I click the error, it points to the first line
>of the code below
Look at the *preceding* line(s) for a missing semi-colon.
- Wayne
- Wayne A. King
wayne_...@rogers.com
The condition in the if-statement has to be enclosed in a set of
parenthesis.
> {
>
> //DoSomething;
>
> if( myaverage->total == 0)
Just like here!
Bo Persson