C++Tutorial for Beginners 34 - Overloading Constructors

Make your objects easy to use by giving them usable constructors! In this tutorial we'll take a look at constructor overloading in C++. You can give your classes multiple constructors, accepting different numbers and types of parameters. This means you can choose how you initialise your objects, specifying relevant bits of data when you construct them.

Click here to download source code for this tutorial.