Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruddyscent/ccspip-in-cpp
C++ porting of 'Classic Computer Problems in Python' by David Kopec
https://github.com/ruddyscent/ccspip-in-cpp
algorithms book computer-science cpp cpp17 manning
Last synced: about 2 months ago
JSON representation
C++ porting of 'Classic Computer Problems in Python' by David Kopec
- Host: GitHub
- URL: https://github.com/ruddyscent/ccspip-in-cpp
- Owner: ruddyscent
- License: apache-2.0
- Created: 2023-10-27T17:08:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T03:14:14.000Z (about 1 year ago)
- Last Synced: 2024-10-12T14:57:55.612Z (3 months ago)
- Topics: algorithms, book, computer-science, cpp, cpp17, manning
- Language: C++
- Homepage: https://www.manning.com/books/classic-computer-science-problems-in-python
- Size: 275 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Classical Computer Science Problems in C++
This repository contains the C++ porting of the Python source code for *Classic Computer Problems in Python* by David Kopec.![Classic Computer Science Problems in Python Cover](cover.jpg)
The original Python code can be found in the [GitHub repository](https://github.com/davecom/ClassicComputerScienceProblemsInPython) of the Book's source code.
## Goal
Apply features from modern C++ wherever possible.## Implementation details
### Chapter1
* `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.### Chapter4
* `priority_queue.py` can be replaced with `std::priority_queue` provided by the C++ Standard Template Library, so porting is omitted.## License
All of the source code in this repository is released under the Apache License version 2.0. See LICENSE.## Get the Book
* [Manning](https://www.manning.com/books/classic-computer-science-problems-in-python) the publisher sells both hard copy and DRM-free eBook editions
* [Amazon](https://www.amazon.com/Classic-Computer-Science-Problems-Python/dp/1617295981) 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](https://www.hanbit.co.kr/store/books/look.php?p_code=B2018898164) the publisher sells both hard copy and eBook editions of the Korean translation