Thread: Need a C++ guru
View Single Post
  #6  
Old 06-30-2009, 08:19 PM
Kobaz
Hill Giant
 
Join Date: Nov 2008
Location: Gold Coast, Oz
Posts: 119
Default

What about:

Code:
int a = -1;

unsigned int b = 3000000000; // 3 billion

if ( long(a) > long(b)) { "true" >> cout } else { "false" >> cout };
?
Reply With Quote