Technical requirements
To run the code examples in this chapter, you must prepare the following:
- A Linux-based system capable of compiling and executing C++20 (for example, Linux Mint 21)
- The GCC12.2 compiler (https://gcc.gnu.org/git/gcc.gitgcc-source) with the
-std=c++2a
and-
lpthread
flags - Alternatively, for all the examples, you can use https://godbolt.org/
- All code examples in this chapter are available for download from: https://github.com/PacktPublishing/C-Programming-for-Linux-Systems/tree/main/Chapter%202.