Skip to content

Latest commit

 

History

History

CPlusPlus

Deprecation note

This material has been moved to other repositories:

  1. Scientific C++
  2. C++ software engineering

CPlusPlus

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

What is it?

  1. 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.
  2. exercises.md: exercises to familiarize yourself with the material. (WIP)
  3. Basics: illustration of basic C++ features for the presentation.
  4. UserDefinedTypes: illustrations of user diefined types in C++ for the presentation.
  5. Modularity: illustrations of modularity in C++ for the presentation.
  6. Classes: illustration of classes in C++ for the presentation.
  7. Templates: illustration of templates in C++ for the presentation.
  8. Regexes: illustrations of strings and regular expressions in C++ for the presentation.
  9. IoStreams: illustration of templates in C++ for the presentation.
  10. Functional: some illustrations of a functional programming style in C++, using higher order functions.
  11. Containers: illustration of containers in C++ for the presentation.
  12. Algorithms: illustration of classes in C++ for the presentation.
  13. Numerics: illustration of doing numerical computations in C++, based on Bjarne Stroustrup's "A tour of C++", chapter 12.
  14. Random: some illustrations of using the pseudorandom generator in standard C++.
  15. STL: some illustrations of using the STL library.
  16. Pointers: illustration of pointer usage in C++.
  17. Armadillo: some illustrations of using the Armadillo linear algebra library.
  18. Eigen: some illustrations of using the Eigen linear algebra library.
  19. Xtensor: some illustrations of using the Xtensor multi-dimensional array library that resembles numpy.
  20. Boost: some illustrations of using the Boost C++ library, mostly in the context of numerical programming.
  21. UsingCLibraries: illustration of how to use a C library from C++ code.
  22. C++17: illustrations of features added in the C++17 standard specification.
  23. Ranges: ranges are an interesting concept for working more conveniently with STL containers and composing algorithms.
  24. Conan: illustration of the Conan C++ package manager, and the args command line argument handling library.
  25. DesignPatterns: illustration of design patterns implemented in C++.
  26. Assembler: illustrations of how to use assembly functions from C++.