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++
Function 84 codes
Home
C++
Function
1 A C++ program with several functions
2 A example of default arguments
3 A Function with Two Generic Types
4 A generic mode finding function
5 A simple example using a virtual function
6 An old-style C++ program
7 Another example of a conversion function
8 Applying Generic Functions
9 Assigning function pointers to overloaded functions
10 Cast generic parameters
11 Class as a return type
12 Class pointer and virtual function
13 Compute area of a rectangle using default arguments
14 Compute area of a rectangle using overloaded functions
15 Computes the factorial of an integer iteratively
16 Create three functions called prompt( ) that perform this task for data of types int, double, and long
17 Creating a custom algorithm based on template
18 Default function arguments
19 Defining a Function
20 Demonstrates the use of return values with reference type
21 Effect of scope on automatic variables
22 Expressions with reference type exemplified by string assignments
23 Find all template function
24 Function
25 Function local variable
26 Function overloading between int and string type
27 Function parameters
28 Function prototype in C++
29 Function prototype with throw signature
30 Function template
31 Function template for getting the max value
32 Function uses two arguments
33 Function with global value
34 Functions differ in number of parameters
35 Generic Function Restrictions
36 Generic function template
37 Global variables
38 How to prototype the printMessage function
39 Making a Sequence of Random Numbers
40 Optional arguments
41 Overload abs() three ways
42 Overload function
43 Overload function to accept integer or char argument
44 Overload the min() function
45 Overriding a template function
46 Pass string (char ) into a function
47 Passed by value and passed by reference
48 Passes the variable to be doubled by reference
49 Passing Arguments by Reference
50 Passing Arguments by Value
51 Pointer for empty string
52 Pointers as Function Arguments
53 Principle of recursion by a function
54 Return Value Of Functions
55 Returning a Pointer to a Static Local Variable
56 Returning a Value from a Function
57 Returning objects
58 Simple template function to accept two parameters
59 Static function variable
60 Template copy array function
61 Template for value output
62 Template function for bubble sort
63 Template function for compacting the items
64 Template function for find a value
65 The Scope Resolution Operator
66 Throwing an exception from a function
67 Use a function adaptor in vector
68 Use a Function Object to Hold state
69 Use a unary function object to determine evenodd
70 Use default argument
71 Use member function reference function adaptor
72 Use virtual function to define interface
73 Using a Binary Function to Multiply Two Ranges
74 Using Standard Parameters with Template Functions
75 Using variable-length argument lists
76 Variable Scope Example
77 Variables
78 Virtual function
79 Virtual function and public inheritance
80 Virtual function and three level inheritance
81 Virtual function for two derived classes
82 Virtual functions are hierarchical
83 Virtual functions retain virtual nature when inherited
84 Write function object