Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++
Deque 30 codes
Home
C++
Deque
1 Change size to four elements
2 Combine insert and end to add elements to a deque
3 Create a deque
4 Create your own stack based on deque
5 Define iterator for deque
6 Deque push_back( value )
7 Deque push_front( value )
8 Illustrating the generic search algorithm
9 Initialize deque with 26 copies of the letter x
10 Insert elements in vector to deque
11 Insert the remaining elements from the vector between the first and last deque elements
12 Insert value into every element but the first
13 List operations on a deque
14 Push element into deque and print all elements
15 Remove all elements with values less than 50
16 Remove first and last element
17 Save transformed data from vector to deque (Vector1 + Vector2 = Result (in Deque))
18 Search across two deques
19 Use assign and push_back, push_front to insert element to a deque
20 Use copy function to print all elements in a deque
21 Use find the search an element in deque
22 Use generic deque to store chars
23 Use generic deque to store integers
24 Use generic deque to store strings
25 Use indexer to add elements to a deque
26 Use iterator and reverse_iterator with deque
27 Use reverse function on deque
28 Use std
29 Use subscript operator to modify element at location 1
30 Use subscript operator to obtain elements of values