skip to main
|
skip to sidebar
My C++ Sandbox
Wednesday, October 21, 2009
Funky Little ? Operator
cout << ( ( time == 0 time == 12 ) ? 12 )
This means that if time is 0 or time is 12, it will be represented with, or equal 12. Nifty!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
.
Followers
Blog Archive
►
2010
(5)
►
May
(2)
►
February
(3)
▼
2009
(10)
►
December
(1)
▼
October
(9)
Const in a Nutshell
Review of Pointers
Funky Little ? Operator
Preprocessor Header Files
Arrays within Arrays
Like Lightening! (- or maybe not)
Default Parameters
Visual Studio Express, Constructors and Pointers -...
Purpose of this blog
About Me
Recursively
The Incognito Happily-Ever-Afterings of a TechnoGeekologist. Any Questions? nixiao{at}comcast{dot}net
View my complete profile
No comments:
Post a Comment