Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 16 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 16 #include "std_lib_facilities.h" int main() try { cout << "enter name for…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 15 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 15 #include "std_lib_facilities.h" int main() try { cout << "enter name for…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 14 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 14 #include "std_lib_facilities.h" int main() try { cout << "enter name for…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 13 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 13 #include "std_lib_facilities.h" int main() try { cout << "enter name for…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 12 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 12 #include "std_lib_facilities.h" void reverseWord(string& w) { string temp; for (int i…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 11 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 11 #include "std_lib_facilities.h" vector<string> split(const string& s, const string& w) { vector<string>…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 10 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 10 #include "std_lib_facilities.h" vector<string> split(const string& s) { vector<string> tempVec; string temp;…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 9 Write Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 9 Write #include "std_lib_facilities.h" int main() try { //open an istream…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 9 Read Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 9 Read #include "std_lib_facilities.h" int main() try { //open an istream…
Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 11 Exercise 9 IO Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PPP // Chapter 11 Exercise 9 IO #include "std_lib_facilities.h" int main() try { //open an istream…