|
-
July 21st, 2010, 07:11 AM
#6
Re: All combinations of 0's and 1's in 128 bit character array?
 Originally Posted by GCDEF
Let's see. That's 0, 1, 2, 3, 4, 5, 6... Maybe there's a pattern there.

Yeah, I also saw that.
But if you have a vector of chars, it's not as simple as "++myVectorChar". I supposed that's what the user wanted...
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
|