January 2020
Intermediate to advanced
454 pages
11h 25m
English
Perform the following steps to try the code for the factory pattern:
> cd ~/> git clone https://github.com/PacktPublishing/Advanced-CPP-CookBook.git> cd Advanced-CPP-CookBook/chapter11
> cmake .> make recipe01_examples
> ./recipe01_example01> ./recipe01_example02> ./recipe01_example03correct answer: The answer is: 42> ./recipe01_example04wrong answer: Not sure> ./recipe01_example05correct answer: The answer is: 42
In the next section, we will go through each of these examples and explain what ...