I can see how that works. Thank you for your help, much appreciated.
Type: Posts; User: dibble
I can see how that works. Thank you for your help, much appreciated.
Sorry if stupid question, but what do you mean due to the comma operator? That syntax works when assigning values to the elements....im confused :/
what would the correct syntax be?
thank you...
would this syntax work?
int num[4];
if(num[0, 1, 2, 3] == 0)
{
//do something
Hi,
In an if statement i want to check multiple conditions (for the same result), but am thinking that there is a quicker way....at the moment ive got it working as follows:
if('x' == 0 &&...