Memory problems is one of the biggest challenges facing by many developers in using of C++ pointer. Common mistakes like, 1. Forgetting to call delete or delete[] after memory were allocated. 2. Deleting of unreference pointer, etc. will cause memory leakage problems in your C++ application. Even worst, it may crash your application....
[ Click to Continue ]Category "C++11"
You may experience the usage of foreach to iterate object/array/list using C#, PHP, etc. This feature is now now available in C++11. C++11 (f.k.a C++0x) is a new version of standard of C++ programming. If you are new to C++11, read my article on Compile C++11 in GCC...
[ Click to Continue ]Compiling of C++ program with C++0x or C++11 support is simple by using of gcc compiler. C++0x or C++11 features are available in gcc compiler start from version 4.3 onward. If you are using gcc 4.3 onward, you may compile your C++ program with C++0x or C++11 support now....
[ Click to Continue ]
Using C++ Smart Pointer