Category Chapter 07 – Principles and Practice Using C++

week days 2.0

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 7 Exercise 11.1 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 7 Exercise 11.1 #include "std_lib_facilities.h" vector<string> dayName; vector<int> dayVal(7, 0); void init_dayName() { dayName…

name age pairs 2.0

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 7 Exercise 11.0 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 7 Exercise 11.0 #include "std_lib_facilities.h" vector<string> names; string nameTemp; vector<int> ages; int ageTemp; int…

calculator grammar

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 7 Exercise 8 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 7 Exercise 8 /* Simple calculator Revision history: Revised by Philipp Siedler May 2017…