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.
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?