January 2020
Intermediate to advanced
454 pages
11h 25m
English
Perform the following steps to try the recipe:
> cd ~/> git clone https://github.com/PacktPublishing/Advanced-CPP-CookBook.git> cd Advanced-CPP-CookBook/chapter02
> mkdir build && cd build> cmake ..> make recipe04_examples
> ./recipe04_example01terminate called after throwing an instance of 'std::runtime_error'what(): 42Aborted> ./recipe04_example02The answer is: 42> ./recipe04_example03terminate called after throwing an instance of 'std::runtime_error'what(): 42Aborted> ./recipe04_example04