License : Creative Commons Attribution 4.0 International (CC BY-NC-SA 4.0)
Copyright :
Hervé Frezza-Buet,
Frédéric Pennerath,
CentraleSupelec
Last modified : February 6, 2026 12:43
Link to the source : index.md
The main material for the self studies is an archive of c++ source files (with a README.txt that you should… read !).
Download self-study-c++.tar.gz and check that you can compile and run the first example.
mylogin@mymachine:~$ tar zxvf self-study-c++.tar.gz
mylogin@mymachine:~$ cd self-study-c++
Once there, you can compile and run any of the examples. For the first one:
mylogin@mymachine:~$ g++ -o test -std=c++17 num.cpp example-001-001-stack-scopes.cpp
mylogin@mymachine:~$ ./test
This should lead to the following output on bash with Linux (Ubuntu here).
Compiling is not adressed for now, just invoke the previous commands even if you do not really understand what they do.
The example-*.cpp file have to be considered according the the numbering. Read carefully the comments, they explain what you have to understand…. and that’s it !
Consider spending 3 or 4 afternoons for the whole files.
There are videos available, where Hervé is doing the tutorial. They are in French. They may help but… just watching the videos will not make you learn.