The statement in C90
for (i=0;i<=Card.Lenght;i++){Card.Valid += (unsigned int)(Card.Array[i+Card.Offset*Card.Lenght] == Buff_In);}
simplified written ;
result += (a==b); // is correct C no error.
But it will create an error when I use the C99 standard.
but it did accept result = result + (a==b) ; // this looks to me a silly way!
But I was not able to find any documentation about this.
Do you guys have an answer?
Picbuster
for (i=0;i<=Card.Lenght;i++){Card.Valid += (unsigned int)(Card.Array[i+Card.Offset*Card.Lenght] == Buff_In);}
simplified written ;
result += (a==b); // is correct C no error.
But it will create an error when I use the C99 standard.
but it did accept result = result + (a==b) ; // this looks to me a silly way!
But I was not able to find any documentation about this.
Do you guys have an answer?
Picbuster