D
Denis Petronenko
i can write something like this
int foo()
{
return 100;
}
if( int x=foo() ) {
....
}else{
....
}
but, for example, how can i check that x>50 in the "if" statement? So,
the if will be true only if x>50.
int foo()
{
return 100;
}
if( int x=foo() ) {
....
}else{
....
}
but, for example, how can i check that x>50 in the "if" statement? So,
the if will be true only if x>50.