This repository contains the C++ porting of the Python source code for Classic Computer Problems in Python by David Kopec.
The original Python code can be found in the GitHub repository of the Book's source code.
Apply features from modern C++ wherever possible.
fib4.py
is an implementation that uses Python's decorators, so porting is omitted.fib6.py
is an implementation that uses Python's generators, so porting is omitted.
priority_queue.py
can be replaced withstd::priority_queue
provided by the C++ Standard Template Library, so porting is omitted.
All of the source code in this repository is released under the Apache License version 2.0. See LICENSE.
- Manning the publisher sells both hard copy and DRM-free eBook editions
- Amazon if you buy the hard copy from Amazon, it will come with a way to download the eBook for free from the publisher
- Hanbit Media the publisher sells both hard copy and eBook editions of the Korean translation