Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-06-2005, 12:43 AM   #1 (permalink)
deepak_kr_mehta
Guest
 
Posts: n/a
implemention of programe

hello sir

create some objects of the string class and put them in a Dequeue some at the head of the deque and some at the tail.Display the contents of the Deque using the foreach() function and a user written display function. Then the search the Dequeue for a particular string using the first That () function display display string that match.Finally remove the all the items from the Dequeue using the getleft() function and display each item.notice the order in which the item are displayed :using getleft(),those inserted on the left(head)of the Dequeue are removed in "last in first out" order while those put on the right side are removed in "first in first out" order. the opposite would be true if getright() were used.
 
Old 05-06-2005, 01:50 AM   #2 (permalink)
paolino
Registered User
 
Join Date: Feb 2005
Posts: 1
paolino is on a distinguished road
so what?
paolino is offline  
Old 05-06-2005, 05:05 AM   #3 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Things are getting funny here.
Mr. Mehta, I really thing you should buy a book.

@Paolino.
That's one heck of a first post...
__________________

Last edited by Valmont; 05-06-2005 at 07:15 AM.
Valmont is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 08:32 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting