|
-
May 2nd, 2010, 04:33 PM
#2
Re: need help with circularbuffer warkmark level
I have no idea what you are trying to do, and since I have no information on what a watermark or how you implemented you circular buffer, I can't help much either.
I will say this though. boost has a circular_buffer container. Maybe using that could help?
I don't see how a watermark could be part of a circular buffer. Don't mix container and containee details.
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
|