1
I was taking a look at how to use templates in c++, when I came across this here return (a>b?a:b);
.
( http://www.cplusplus.com/doc/oldtutorial/templates/ )
What is this ?
code? I tried to google but it didn’t work very well, it seems that the ?
is ignored in the query...
I had seen this a few times but never cared. I believe I am some kind of formatting, the same way that a = a + b
be equal to a+=b
, right?
see https://answall.com/questions/34200/dificuldade-na-syntax
– mercador
and https://answall.com/questions/44741/assignr-uma-express%C3%A3o-a-Vari%C3%A1vel/44742#44742
– mercador