Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

C++ syntax

Name: Anonymous 2010-08-28 13:59

http://www.cplusplus.com/doc/tutorial/templates/

For the first example here, can anyone explain the syntax "(a>b?a:b);"?

Thanks

Name: VIPPER 2010-08-28 14:04

can anyone explain the syntax "(a>b?a:b);"?

no

Name: Anonymous 2010-08-28 14:06

Fuck Sepples.

Name: Anonymous 2010-08-28 14:07

if(a > b) return a; else return b;

Name: VIPPER 2010-08-28 14:10

>>3
i dont think you know any better than OP.

Name: Anonymous 2010-08-28 14:12

>>1
You're an idiot.
>>4
You're an idiot facilitator.
>>5
0.03/10, but that's only because I bothered to tell you that you're an idiot.

Name: Anonymous 2010-08-28 14:23

>>5
ternary operator is C, dickface.  Fuck Sepples.

Name: Anonymous 2010-08-28 14:30

>>4
ty

Name: Anonymous 2010-08-28 14:38

>>6
Haha go eat a dinner!

Name: Anonymous 2010-08-28 16:48

>>7
Listen here, jerkface

Don't change these.
Name: Email:
Entire Thread Thread List