15.07.2016, 01:33
(
Last edited by Dayrion; 15/07/2016 at 01:13 PM.
)
Quote:
Add this to your tutorial to remove all the fuss of using a ternary operator >
PHP Code:
|
PHP Code:
main()
{
new a, b=1, c;
c = a > b ? (a >= 1 ? 2 : 0) : (b >= 1 ? 3 : 4);
printf("a: '%i' b: '%i' - c : '%i'", a, b, c);
}