|
-
August 4th, 2010, 05:28 AM
#15
Re: signed to unsigned (and vice versa)
 Originally Posted by superbonzo
ps. I just quickly tested the above with the online Comeau compiler ... so you should check it 
Thanks. I'll check it out.
 Originally Posted by laserlight
Probably the stuff from <type_traits>, to be introduced in the next version of the C++ standard library. Actually, I believe that it is already available in the TR1 extensions.
That's a very interesting library. Thanks.
Is your question related to IO?
Read this C++ FAQ article at parashift by Marshall Cline. In particular points 1-6.
It will explain how to correctly deal with IO, how to validate input, and why you shouldn't count on "while(!in.eof())". And it always makes for excellent reading.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|