cpluspluscourse
cpluspluscourse copied to clipboard
C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
Consider this comment by Attila: > The description of vector iterators made me remember that we don't discuss this really in this tutorial. But it may be useful to be...
Mainly the `chrono` library, including clocks, `time_point` and `duration` so that people can easily do dedicated timing of a few lines of code, basically though code like : ```cpp #include...
During a discussion in the essentials course we noticed that we never discuss the order of evaluation of arguments. This might be a topic for the advanced course.
We mention containers, but we don't really say when you should use those. Is it wise to discuss this in the advanced course? Should we even create an exercise, or...
Even the part 1 seems to me out of reach for real beginners. I spent (too) much time trying to explain why they should care, andwhat can happen with an...
As currently written, the students starts with std::generate, which is complex because of the need of some internal persistent state. Several solutions: - find another generation algorithm which do not...
A very good support to discuss the design of a class... but obviously too hard for beginners who never wrote a single class. And I take each time 2 hours...
The exercises `memcheck` and `polymorphism` use the non-standard `M_PI` constant, which unfortunately for MSVC requires extra setup. If we would use `std::numbers::pi` instead from C++20, this special handling would not...
After having a longer discussion yesterday with bernhard, i got the following idea how the difficulty of understanding lambdas and `stl` could be eased. I would suggest the following exercises...
I would like to have the latex sources uniformly formatted, especially wrt. indentation. There seems to be a tool called [`latexindent`](https://ctan.org/pkg/latexindent). Would you be fine if we would format the...