December 2018
Intermediate to advanced
552 pages
12h 18m
English
To compile this code, we leverage the same CMakeLists.txt file that we have been using for the other examples: https://github.com/PacktPublishing/Hands-On-System-Programming-with-CPP/blob/master/Chapter09/CMakeLists.txt.
With this code in place, we can compile this code using the following:
> git clone https://github.com/PacktPublishing/Hands-On-System-Programming-with-CPP.git> cd Hands-On-System-Programming-with-CPP/Chapter09/> mkdir build> cd build> cmake ..> make
To execute the example, run the following command:
> ./example6
The output should resemble the following:
0x55aec04dbd000x55aec04e8f400x55aec04d5d00===============================================================================test cases: 3 | 3 passedassertions: ...
Read now
Unlock full access