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++
Basics 33 codes
Home
C++
Basics
1 Access out-of-range element
2 Catch out_of_range exception
3 Computing sum with template arrays for double array
4 Computing sum with template arrays for vector
5 Convenience function for the compose_f_gx adapter
6 Convenience function for the compose_f_gx_hx adapter
7 Convenience function for the compose_f_gx_hy adapter
8 Create your own unary function
9 Function object that prints the passed argument
10 Function object to process the mean value
11 Function parameter type
12 Function with stack as parameter
13 Function with vector as the parameter
14 Illustrating the generic adjacent_difference algorithm
15 Illustrating the generic inner_product algorithm with predicate
16 Illustrating the generic partial_sum algorithm
17 Illustrating the use of an adaptor for pointers to functions
18 Memory allocator
19 Sort all element in an array
20 Sort part of the elements in an array
21 Std
22 Use back_insert_iterator to insert element into a vector
23 Use generic function as predicate
24 Use list as the function parameter
25 Use predicate, which returns whether an integer is a prime number, with a list
26 Use random_shuffle algorithms with array
27 Use std
28 Use the generic partition algorithms
29 Use unique_copy to copy elements in an array to list with back_inserter
30 Using function templates to get the max and min value in an array
31 Using reverse_copy to copy the array reversely
32 Using template functions to output array of different types
33 Using the STL generic reverse algorithm with an array