https://github.com/horance-liu/cps
It's a Simple Modern C++ Programming Style.
https://github.com/horance-liu/cps
Last synced: 14 days ago
JSON representation
It's a Simple Modern C++ Programming Style.
- Host: GitHub
- URL: https://github.com/horance-liu/cps
- Owner: horance-liu
- License: mit
- Created: 2015-08-16T22:15:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T14:55:11.000Z (over 8 years ago)
- Last Synced: 2025-04-15T01:49:38.973Z (14 days ago)
- Language: TeX
- Size: 56.2 MB
- Stars: 10
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C++ Programming Style: Guilds, Rules, and Patterns.
Licensed under [MIT License][].
## Download PDF
```bash
$ wget -c https://raw.github.com/ccock/cps/master/cpp-programming-style.pdf
```## Downloads
You can obtain full latex source files of C++ Programming Style from [https://github.com/ccock/cps](https://github.com/ccock/cps)
## Install Tex
You should install full texlive packages.
- Ubuntu
```bash
$ sudo apt-get install texlive-full
```- MacOS
Download [MacTeX.pkg](http://tug.org/mactex/), and install it.
- Windowns
Download [CTEX-full](http://www.ctex.org/CTeXDownload), and install it.## Install Missing Fonts
Then you should install some missing chinese fonts.
- Ubuntu
```bash
$ sudo mkdir /usr/local/share/fonts/truetype
$ sudo cp -R fonts /usr/local/share/fonts/truetype
$ cd /usr/local/share/fonts/truetype
$ sudo mv fonts win-fonts
$ sudo chown -R root win-fonts
$ sudo fc-cache
```- MacOS
Import all missing fonts into fontbook- Windows
Copy the all missing fonts into C:/WINDOWS/Fonts```bash
$ fc-cache
```## Build
```bash
$ make
```## Preview PDF
```bash
$ open output/cpp-programming-style.pdf
```## License
[MIT License](http://opensource.org/licenses/mit-license.html)