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
» Operator Overloading
by Valmont
Page 3 of 27
< Previous
Preface
Prerequisites
Contents
Chapter One: demonstration
Returning By Reference
Overloading The Addition Operator: operator+()
Efficiency And Neatness
Adding Stream Operators
Chapter Two: digging deeper
More About operator+() And operator+=()
Implementing operator+=()
Combining The Copy Ctor With operator+= To Redefine operator+
Important Notes So Far
Chapter Three: getting serious
Basic C-style String Handling
The String Class
The Basic Setup
The Basic String Class Implementation
Insertion: operator<<()
Concatenation Part One
Concatenation Part Two
Sub String Substraction: operator-=()
Complete String Class Code Listing
Last Words On The String Class
Chapter Four: additional insights
Increment Operators And enum Types
Templates And A Generic Mathematical Matrix Class
Next >
(Login to remove green text ads)
Contents
Contents
Chapter One: demonstration
Returning By Reference.
Overloading The Addition Operator: operator+()
Efficiency And Neatness
Overloading Stream Operators
Chapter Two: digging deeper
More About operator+() And operator+=()
Implementing operator+=()
Combining The Copy Ctor With operator+= To Redefine operator+
Important Notes So Far
Chapter Three: getting serious
Basic C-style String Handling
The Custom String Class
The Basic Setup
The Basic String Class Implementation
Insertion: operator<<()
Concatenation Part One
Concatenation Part Two
Sub String Substraction: operator-=()
Complete String Class Code Listing
Last Words On The String Class
Chapter Four: additional insights
Increment Operators And enum Types
Templates And A Generic Mathematical Matrix Class
(printer friendly format)
Page 3 of 27
< Previous
Preface
Prerequisites
Contents
Chapter One: demonstration
Returning By Reference
Overloading The Addition Operator: operator+()
Efficiency And Neatness
Adding Stream Operators
Chapter Two: digging deeper
More About operator+() And operator+=()
Implementing operator+=()
Combining The Copy Ctor With operator+= To Redefine operator+
Important Notes So Far
Chapter Three: getting serious
Basic C-style String Handling
The String Class
The Basic Setup
The Basic String Class Implementation
Insertion: operator<<()
Concatenation Part One
Concatenation Part Two
Sub String Substraction: operator-=()
Complete String Class Code Listing
Last Words On The String Class
Chapter Four: additional insights
Increment Operators And enum Types
Templates And A Generic Mathematical Matrix Class
Next >
Rate This Article
1
2
3
4
5
6
7
8
9
10
Copyright © 2000-2008,
Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting