This is some sample code written in C++, with no or little bearing on non-standard libraries. It is mainly intended to illustrate some programming concepts and idiosyncracies particular to C++.
Basics
: illustration of basic C++ features for the presentation.UserDefinedTypes
: illustrations of user diefined types in C++ for the presentation.Modularity
: illustrations of modularity in C++ for the presentation.Classes
: illustration of classes in C++ for the presentation.Templates
: illustration of templates in C++ for the presentation.Regexes
: illustrations of strings and regular expressions in C++ for the presentation.IoStreams
: illustration of templates in C++ for the presentation.Functional
: some illustrations of a functional programming style in C++, using higher order functions.Containers
: illustration of containers in C++ for the presentation.Algorithms
: illustration of classes in C++ for the presentation.Numerics
: illustration of doing numerical computations in C++, based on Bjarne Stroustrup's "A tour of C++", chapter 12.Random
: some illustrations of using the pseudorandom generator in standard C++.STL
: some illustrations of using the STL library.Pointers
: illustration of pointer usage in C++.Armadillo
: some illustrations of using the Armadillo linear algebra library.Eigen
: some illustrations of using the Eigen linear algebra library.Xtensor
: some illustrations of using the Xtensor multi-dimensional array library that resembles numpy.Boost
: some illustrations of using the Boost C++ library, mostly in the context of numerical programming.UsingCLibraries
: illustration of how to use a C library from C++ code.GrammarFeatures
: illustrations of recent C++ grammar features added in recent C++ standarsd specification.Ranges
: ranges are an interesting concept for working more conveniently with STL containers and composing algorithms.Conan
: illustration of the Conan C++ package manager, and theargs
command line argument handling library.DesignPatterns
: illustration of design patterns implemented in C++.Assembler
: illustrations of how to use assembly functions from C++.Misc
: some miscellaneous examples.Vcpkg
: illustration of how to use the vcpkg C++ package manager.CPM
: illustration of how to use the CPM package manager for C++.ParallelExecution
: illustration of parallelizing algorithms using execution policies and TBB.Cling
: Xeus-cling kernel in Jupyter Lab for interactive C++ development.GeneralUtilities
: examples of using STL general utilities.ErrorHandling
: examples of error handling.