This material has been moved to other repositories:
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++.
This part of the repository is considered obsolete and has been replaced by another repository for a C++ for scientific programming training. See
scientific_cpp.pptx
: Powerpoint presentation, introducing C++ from the perspective of scientific computing, based on Bjarne Stroustrup's "A tour of C++", Addison Wesley, 2014.exercises.md
: exercises to familiarize yourself with the material. (WIP)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.C++17
: illustrations of features added in the C++17 standard 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++.