Category Chapter 04 – Principles and Practice Using C++

spelled out number calculator

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 4 Exercise 7 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 4 Exercise 7 #include "std_lib_facilities.h" vector<string> numbers; void initNumbers() { numbers.push_back("zero"); numbers.push_back("one"); numbers.push_back("two"); numbers.push_back("three");…

digit and spelled out integers

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 4 Exercise 6 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 4 Exercise 6 #include "std_lib_facilities.h" vector<string> numbers; void initNumbers(){ numbers.push_back("zero"); numbers.push_back("one"); numbers.push_back("two"); numbers.push_back("three"); numbers.push_back("four");…

Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124