Copyright for Apress source code belongs to the author(s). However, under fair use you are encouraged to fork and contribute minor corrections and updates for the benefit of the author(s) and other readers.
- Make sure you have a GitHub account.
- Fork the repository for the relevant book.
- Create a new branch on which to make your change, e.g.
git checkout -b my_code_contribution
- Keep formating: clang-format -i --style="{BasedOnStyle: Google, ColumnLimit: 60}" .cpp [we used find . -name "*cpp" -exec clang-format -i --style="{BasedOnStyle: Google, ColumnLimit: 60}" {} ; originally]
- Commit your change. Include a commit message describing the correction. Please note that if your commit message is not clear, the correction will not be accepted.
- Submit a pull request.
Thank you for your contribution!