For example:
draw_player( ( timer_border == 1 ? disp_up : disp_down) )
{
blah blah blah();
}
My question:
What do the " ? " and " : " mean? It’s quite abvoious that I’m new to C. I’m not trying to get help with homework or anything like that: I was just reading a tutorial and the author did’nt go into detail concerning the aftermention characters within that function. Please, any help would be greatly appreciated.
EDIT:
You know, after some thinking… does it mean some type of exception/catch thing?
If you think you know C++ take a look at Andrei Alexandrescu’s stuff. His site is a great hub site and links to just about anyone else worth your time learning from.