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

What should.... ?

Name: Anonymous 2011-09-29 14:54

What should

a ? b = c : b = d

do?

Name: Anonymous 2011-09-30 9:47

My LoseThos compiler makes code that executes both clauses of a ? operator, all the time.  That's not good.  I would have to duplicate a lot of code from "if" statements.  I kinda don't want to junk-up my compiler (more).  I don't have a strong hatred of "?" operators, like some people, but I don't use them.  I'm hardly a prude when it comes to making indecipherable C expressions in other ways.

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