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
    cpp
  » Operator Overloading
      by Valmont
 Page 2 of 27 
< Previous     Next >

(Login to remove green text ads)
Prerequisites
Prerequisites:
  • Basic knowledge and handling of classes and its instances (objects).
  • Basic understanding and handling of pointers.
  • Basic understanding and handling of functions. This includes passing parameters by value and by reference.
  • Understanding the friend keyword. This tutorial will explain its purpose many times though.
  • Understanding of the this keyword. A tutorial dedicated to this keyword can be found on this site as well.
  • Understanding initializing in a constructor versus assignment (in the body of a constructor).
  • Understanding the Rule Of Three. An extensive tutorial dedicated to this rule can be found on this site as well.
  • Basic understanding and handling of returning by reference. Note that we will review this topic in short.

There will be many final code listings presented here which are complete and ready to be copied and run into your console/bash project. Only one *.cpp file is required.





 
 Page 2 of 27 
< Previous     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