In this Repository we collect example design patterns in Java and C++.
- Directory C++/ includes C++ examples
We use CMake to build C++ code.
- Use Smart pointer in C++
- Use C++14
- Use one of the compiler LLvm - clang, 'Gnu Compiler Collection' gcc or 'Gnu C Compiler' g++, and enable warning flags while compiling your code
- Check Memory Leaks using valgrind
valgrind --tool=memcheck <your_app> <your_apps_params>