
C++ Vector
C++ vector is a container template available with Standard Template Library pack. This C++ vector can be used to store similar typed objects sequentially, […]
C++ vector is a container template available with Standard Template Library pack. This C++ vector can be used to store similar typed objects sequentially, […]
After all the knowledge about generic programming using C++ class template, the next one to know will be about some sort of specifics called C++ […]
C++ Class Templates are used where we have multiple copies of code for different data types with the same logic. If a set of functions […]
Function templates in C++ are used if the same set of code/algorithm needs to be applied for different data types. The same logic need not […]
C++ Function templates are those functions which can handle different data types without separate code for each of them. For a similar operation on […]
C++ File I/O with binary files using fstream class is a simple task. fstream class has the capability to do both Input as well as […]
File handling is an important part of all programs. Most of the applications will have their own features to save some data to the local […]
The following article discusses the dangers of returning a reference to private data of a class. First, it is shown how a reference to private […]
The concept of a Virtual Destructor is also covered. What is a Virtual Function? A virtual function is a member function of a class, whose […]
A function is written in C++ when there’s a certain chunk of code that will be executed more than once, or maybe even just to […]
Copyright © 2025 | WordPress Theme by MH Themes