Skip to content

Latest commit

 

History

History

source-code

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Source code

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++.

What is it?

  1. Basics: illustration of basic C++ features for the presentation.
  2. UserDefinedTypes: illustrations of user diefined types in C++ for the presentation.
  3. Modularity: illustrations of modularity in C++ for the presentation.
  4. Classes: illustration of classes in C++ for the presentation.
  5. Templates: illustration of templates in C++ for the presentation.
  6. Regexes: illustrations of strings and regular expressions in C++ for the presentation.
  7. IoStreams: illustration of templates in C++ for the presentation.
  8. Functional: some illustrations of a functional programming style in C++, using higher order functions.
  9. Containers: illustration of containers in C++ for the presentation.
  10. Algorithms: illustration of classes in C++ for the presentation.
  11. Numerics: illustration of doing numerical computations in C++, based on Bjarne Stroustrup's "A tour of C++", chapter 12.
  12. Random: some illustrations of using the pseudorandom generator in standard C++.
  13. STL: some illustrations of using the STL library.
  14. Pointers: illustration of pointer usage in C++.
  15. Armadillo: some illustrations of using the Armadillo linear algebra library.
  16. Eigen: some illustrations of using the Eigen linear algebra library.
  17. Xtensor: some illustrations of using the Xtensor multi-dimensional array library that resembles numpy.
  18. Boost: some illustrations of using the Boost C++ library, mostly in the context of numerical programming.
  19. UsingCLibraries: illustration of how to use a C library from C++ code.
  20. GrammarFeatures: illustrations of recent C++ grammar features added in recent C++ standarsd specification.
  21. Ranges: ranges are an interesting concept for working more conveniently with STL containers and composing algorithms.
  22. Conan: illustration of the Conan C++ package manager, and the args command line argument handling library.
  23. DesignPatterns: illustration of design patterns implemented in C++.
  24. Assembler: illustrations of how to use assembly functions from C++.
  25. Misc: some miscellaneous examples.
  26. Vcpkg: illustration of how to use the vcpkg C++ package manager.
  27. CPM: illustration of how to use the CPM package manager for C++.
  28. ParallelExecution: illustration of parallelizing algorithms using execution policies and TBB.
  29. Cling: Xeus-cling kernel in Jupyter Lab for interactive C++ development.
  30. GeneralUtilities: examples of using STL general utilities.
  31. ErrorHandling: examples of error handling.