I am trying to write some cd details to a file, from a queue.

First i have taken all details from keyboard to a Queue and the made to write all those to a file in ascii format. Each queue has details like CD ID, film Name, film language, film rating ...etc.

Issue:-
Always the CD ID and CD Name from the last queue is written to file wrongly. But other details like film rating and language are written correctly.

can any one help me?

Recommended Answers

All 2 Replies

Post your code.

It seems the most interesting question is: why queue?..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.