|
-
August 5th, 2010, 10:36 AM
#8
Re: std::set<int> can't find negative value
 Originally Posted by Lindley
The phrase which has me worried is "I put them at the end."
ditto.
 Originally Posted by Lindley
I'm actually really curious what you were doing.
ditto.
Please humour our curiosity.
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
|