書籍『C++によるプログラミングの原則と実践』
で取り扱っている問題(Try this、ドリル、練習問題)の解答。
| ディレクトリ名 | 説明 |
|---|---|
| ch02 | 2章で取り扱った問題の解答 |
| ch03 | 3章で取り扱った問題の解答 |
| ・・・ | ・・・ |
| images | Markdown等に使用した画像 |
| include | 本書で使用されるヘッダーファイル等 |
| Programming-code | http://www.stroustrup.com/Programming/Programming-code.zip の内容物、Web Archive から |
# Linux
$ clang++ -o example1 ch02/2_drill_2_helloWorld.cpp
$ ./example1
# Windows
$ clang++ -o example1.exe .\ch02\2_drill_2_helloWorld.cpp
$ .\example1.exe# Linux
$ g++ -o example2 ch02/2_drill_2_helloWorld.cpp
$ ./example2
# Windows
$ g++ -o example2.exe .\ch02\2_drill_2_helloWorld.cpp
$ .\example2.exe# Develop Powershell for VS 2019
$ cl /source-charset:utf-8 .\ch02\2_drill_2_helloWorld.cpp
$ .\2_drill_2_helloWorld.exestd_lib_facilities.hにusing namespace stdは含まれているがstd::は敢えて書いてある。
- cpprefjp - C++日本語リファレンス
- BjarneStroustrup/Programming-_Principles_and_Practice_Using_Cpp
- bewuethr/stroustrup-ppp
- 0p3r4t4/PPPUCPP2nd
