I want to spend some spare time and have some fun learning C++, because I respect this language. This is my hobby goal.
Many know about "Go by Example" and "Rust by Example" where I have enjoyed these little experiments and well-written text.
But where can I find something like "C++ by Example"?<p>Edit 00: What I am looking for is a language tour (I have read Stroustrup's "A tour of C++"), but I want something more interactive.
- have an IDE / text editor can set in cli for the file to be launched/done by compiler<p>- the cli must has option compile and stop, to have shortest read-execute cycle just to test syntax, have it full to link, so can print to test full<p>- have a new directory,<p>- set it 0 permission means everyone, or 777 on Linux<p>- highly recommended on Ram that is it's virtual disk<p>- have a c++ source there<p>- this way only it can simulate REPL - read execute print loop of interpreter act<p>- enjoy your little experiments of well-written c++ text by this EREPL - Edit REPL
Here you go:<p><a href="https://cppbyexample.com/" rel="nofollow">https://cppbyexample.com/</a><p><a href="https://hackingcpp.com/" rel="nofollow">https://hackingcpp.com/</a><p><a href="https://www.learncpp.com/" rel="nofollow">https://www.learncpp.com/</a><p><a href="https://github.com/AnthonyCalandra/modern-cpp-features" rel="nofollow">https://github.com/AnthonyCalandra/modern-cpp-features</a><p><a href="https://cppinsights.io/" rel="nofollow">https://cppinsights.io/</a> it's a must so you can investigate what gets generated by templates behind the scenes.<p><a href="http://eel.is/c++draft/" rel="nofollow">http://eel.is/c++draft/</a> bookmark this, you will need it!<p>Enjoy!
These two are very good beginner resources:<p><a href="https://pythontutor.com/cpp.html" rel="nofollow">https://pythontutor.com/cpp.html</a><p><a href="https://www.learn-cpp.org" rel="nofollow">https://www.learn-cpp.org</a><p>The other resources are:<p><a href="https://godbolt.org" rel="nofollow">https://godbolt.org</a><p><a href="https://root.cern/cling" rel="nofollow">https://root.cern/cling</a><p>More info about Cling is here: <a href="https://blog.llvm.org/posts/2020-11-30-interactive-cpp-with-cling" rel="nofollow">https://blog.llvm.org/posts/2020-11-30-interactive-cpp-with-...</a>