Category Chapter 05 – Principles and Practice Using C++

week day values

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 5 Exercise 14 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 5 Exercise 14 #include "std_lib_facilities.h" int main() try { vector<string> dayVec = { "Monday",…

quadratic equation

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 5 Exercise 7 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 5 Exercise 7 //input: 1 2 3 #include "std_lib_facilities.h" int main() try { float…