Help me

Jobi K John posted at 07-May-08 01:17
I want to maintain a queue of  'names' at run time with max length 10. Suppose, 10 names are filled, then I want to remove the name from the 1st position and store the new name in the 10th position and so on... How can I do it using Stack or Queue? Have any sample code snippet?



Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Help me - Jobi K John  07-May-08 1:17:43 PM
      Well the Queue is a first in, first out collection, - Peter Bromberg  07-May-08 3:48:59 PM
      Here you go - Vaibhav Gadodia  08-May-08 1:12:03 AM
      Example - Sanjay Verma  08-May-08 7:03:18 AM
      Re: - chakradhar koturu  08-May-08 10:23:31 PM
      RE : - Swapnil Salunke  09-May-08 1:13:38 AM
View Posts