what does "a<?=b" in C++ mean?
c++, syntax
Solution
Old operator; it's a (since removed) gcc extension for 'minimum'. That is:
a <?= b;
is the same as:
a = a < b ? a : b;
Problem
I saw this code ``` a<?=b; // (a and b are int) ``` from the solution of Google Code Jam. but my VS shows an error on '?' I only know the following: ``` a>b?a=0:b=0; ``` Thanks.