Technical requirements
In order to run the code examples, the reader must prepare the following:
- A Linux-based system capable of compiling and executing C and C++20 (for example, Linux Mint 21):
- gcc12.2 compiler: https://gcc.gnu.org/git/gcc.git gcc-source
- g++ with -std=c++2a flags for the C++ code
- gcc without flags for the C code
- For all the examples, you can alternatively use https://godbolt.org/.
- Code examples could be found here: https://github.com/PacktPublishing/C-Programming-for-Linux-Systems/tree/main/Chapter%203