Default image

Philipp Siedler

sorting integers

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 3 Exercise 6 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 3 Exercise 6 #include "std_lib_facilities.h" int main() { int val1, val2, val3; int smallest…

double operations

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 3 Exercise 5 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 3 Exercise 5 #include "std_lib_facilities.h" int main() { double val1, val2; cout << "enter…

integer operations

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 3 Exercise 4 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 3 Exercise 4 #include "std_lib_facilities.h" int main() { int val1, val2; cout << "enter…

unsafe conversion

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 3 Try This Page 81 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 3 Try This Page 81 #include "std_lib_facilities.h" int main() { cout <<…

operator exercise

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 3 Try This Page 68 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 3 Try This Page 68 #include "std_lib_facilities.h" #define Res 10 int main()…

read name and age

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 3 Try This Page 65 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 3 Try This Page 65 #include "std_lib_facilities.h" int main() { string first_name;…

Hello World!

Bjarne Stroustrup “Programming Principles and Practice Using C++” Chapter 2 Exercise 1 Using std_lib_facilities.h by Bjarne Stroustrup. [code language=”cpp”] // Philipp Siedler // Bjarne Stroustrup’s PP // Chapter 2 Exercise 1 #include "std_lib_facilities.h" int main() { cout << "Hello, World!\nHere we go!\n";…