c exception handling method, setjmp( ) and longjmp( ) is a kind of non-local goto functions…
Category: Standard C++
This category contains a set of posts on standard C++. All the posts contain short explanation with relevant examples.
Typecasting in C++: static, dynamic and others
static_cast is first type of typecasting in c++: This is used to perform all conversions that…
Why virtual functions not called in constructor & destructor ?
During base class construction, virtual functions never go into derived classes and the object behaves as…
Preprocessor directive & const types – differences?
Preprocessor directive or #define is the traditional C-style way of specifying constant items. This is also…
Virtual Destructor & Pure Virtual Destructor c++
Pure virtual destructor C++: is declared just like a pure virtual function, i.e. having =0 in…
What are the drawbacks of using enum ?
However, there are serious drawbacks with enum variables in standard C++. First drawback is that the…