Possible Duplicate:
What does the >?= operator mean?
I found this code segment
...
for(k=i+1;k<j;k++) r <?= go(i,k,b)+go(k,j,b);
for(k='A';k<='Z';k++) r <?= 1+go(i,j,k);
...
I'm interested in <?=
operator. It seems to me that it should compare value of r
with right side of the operator and in case that right side is greater than r
it should assign right side to r
. I would like to know where are this (and similar operators, I suppose) defined and what should I do make them available for use with g++ compiler?
The <?=
operator was a GCC extension that was removed in version 4.2. See this question.
Use std::min
instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With