Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

Standard Template Library

Categories: C++ Programming. No Comments on Standard Template Library

This article provides a comprehensive overview of Standard Template Library (STL) in C++ programming language along with example programs.   Introduction The Standard Template Library (STL) is a collection of components to implement data structures and frequently used operations on data. Three major components in STL are: Containers Algorithms Iterators   Containers   Container is […]

Read the rest of this entry »

Generic Programming in C++ Programming

Categories: C++ Programming. No Comments on Generic Programming in C++ Programming

This article provides a comprehensive overview of generic programming in C++ programming language along with example programs.   Introduction To generate short, simple code and to avoid duplication of code, C++ provides templates to define the same piece of code for multiple data types. With templates, programmers can define a family of functions or classes […]

Read the rest of this entry »

Exception Handling in C++ Programming

Categories: C++ Programming. No Comments on Exception Handling in C++ Programming

This article provides a comprehensive overview of exception handling in C++ programming language along with example programs.   Introduction In programming, it is common for programmers to make mistakes which leads to abnormal conditions called as errors. In general, these errors are of three types: 1) Syntax errors, 2) Logical errors, and 3) Run-time errors. […]

Read the rest of this entry »

C++ Tutorial with Examples

Categories: C++ Programming. 23 Comments on C++ Tutorial with Examples

A well written C++ tutorial which covers all the fundamentals of the language. C++ is a high-level programming language developed by Bjarne Stroustrup.     Intended Audience: Anyone who is new to programming or for people who know other programming languages and want to try out C++. Note: Entire C++ tutorial is divided into several sections. Each […]

Read the rest of this entry »

Polymorphism in C++ Programming

Categories: C++ Programming. No Comments on Polymorphism in C++ Programming

This article provides a comprehensive overview of polymorphism in C++ programming language. Concepts like virtual functions, pure virtual functions and others are covered with example programs.   Introduction Polymorphism is one of the key features of object orientation. It means many forms or single interface multiple implementations. Polymorphism is of two types: 1) Compile-time polymorphism […]

Read the rest of this entry »

Inheritance in C++ Programming

Categories: C++ Programming. No Comments on Inheritance in C++ Programming

This article provides a comprehensive overview of inheritance in C++ programming language along with relevant example programs.   Introduction One of the main advantages of object oriented programming is reusability. Using already existing code is known as reusability. C++ supports reusability through inheritance which is creating a new class from already existing class.   Inheritance […]

Read the rest of this entry »

Operator overloading in C++

Categories: C++ Programming. No Comments on Operator overloading in C++

This article provides a comprehensive overview of operator overloading in C++ programming language along with example programs.   Introduction   The feature of C++ which allows programmers to redefine the meaning of operators to make them work with classes and objects is operator overloading.   While evaluating expressions, C++ compiler checks whether the operands are […]

Read the rest of this entry »

Constructors and Destructors in C++

Categories: C++ Programming. No Comments on Constructors and Destructors in C++

This article provides a comprehensive overview of constructors and destructors in C++ programming language along with example programs.   Introduction Until now in our C++ programs, we are initializing the data members of a class by creating one or more member functions and passing values as parameters to those functions. We know that C++ considers […]

Read the rest of this entry »

Classes and Objects in C++ Programming

Categories: C++ Programming. No Comments on Classes and Objects in C++ Programming

This article provides a comprehensive overview of classes and objects in C++ programming languages along with example programs.   Introduction Object oriented programming paradigm makes it easy to solve real-world problems. Classes and objects are the fundamental concepts of object oriented paradigm. They make development of large and complex systems easier and help to produce […]

Read the rest of this entry »