-
April 12th, 2010, 09:53 AM
#1
Test post
Here's the code for the SyncQueue constructor.
Code:
SyncQueue<NodeType>::SyncQueue()
{
Node<NodeType> *dummy = new Node<NodeType>; // Set up initial dummy node on empty queue
head = dummy;
tail = dummy;
garbage = dummy;
}
The garbage pointer is only there to cleanup when the processing of the queue is done. Prevents memory leaks.
--clay
-
April 12th, 2010, 01:05 PM
#2
Re: Test post
--------------------------------------------
Zyvxnwashere....
--------------------------------------------
-
April 12th, 2010, 06:35 PM
#3
Re: Test post
Getting closer, then
--clay
Clay Breshears
Intel Innovative Software Education
"There are no evil threads; just threads programmed for evil."
-
April 30th, 2010, 09:46 PM
#4
Re: Test post
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.
-
May 20th, 2010, 11:36 AM
#5
Re: Test post
I would love to bring what is/are mine or what I am followng up front to be the best! So others are LOWWWWWWEST eeelllll!
Buy my company products please!!!! :tongue: blah blah blah test
How much is my anual income ? I am Burdit Emailus working for TNT chemistree company. You know 100,000 USD/yr kakakkaka
Last edited by emailus; May 20th, 2010 at 11:39 AM.
-
May 20th, 2010, 11:55 AM
#6
Re: Test post
I love codeguru very much, whenever I have free time, I always try to read almost newest posts on CG forums, even those on Testing, some post contents might not increase my interests some sadden me or even keep me away from the forum. So I hope posters keep a neutral attitude towards their programs/ assignment problems to avoid such a tragic for ... me . Don't be an abstract smart ARSEs or those highly appraised themselves as truth finders, who I call truth's hypocrites.
-
June 8th, 2010, 06:54 AM
#7
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
|