The Open Close Principle in Programming says “Software entities like Classes, Functions, Modules should be open for extension, but closed for modification.” It encourages programmers […]
In C/C++ language, main function comes in different flavors as shown below: int main(); int main(int argc, char **argv); int main(int argc, char **argv, char […]
Singleton patterns are used, when you want to allow creation of only one instance(object) of a particular class. Such classes (which allow only single object […]
Those who use languages like C and C++ that support user defined pointer variables, put utmost emphasis on implementing the pointers correctly. And rightfully so, […]
In my earlier articles on C++, I have written about the automatic type detection, uniform initialization list and Range based for loopin C++11. Earlier we […]
In my previous articles about C++11 standard I talked about automatic type detection , decltype keyword and uniform initializer list introduced in C++11. Lets see […]
In my previous article about the latest C++11 standard I talked about automatic type detection and keyword decltype Today I will take another major enhancement in C++11 called […]