You can compile code in command mode(Linux/Windows/Mac) with below command:
g++ -std=c++11 main.cpp -o main -lpthread
You can run the examples in command mode(Linux/Windows/Mac) with below command:
main
Learning new programming language for programmers is very easy but because of generality in books and courses it turns to a boring activity. You need something faster to reach your goal.
I worked for years with C and C++ older versions and when I decide to learn c++ newer syntax I have difficulty in chooseing convenient resources. At end, I choose a course that is not complete but I decide to learn it by examples and searching for everything that is new in internet. I learnt from diffrent websites and courses and collect samples to remind myself every new feature in c++ 11. Then I say myself why not to share it with others that know C or C++ older syntax and want to learn new versios as fast as possible. These examples are not complete but I think they are enough for starting and we can together get it better.
Pull requests are wellcome.