C++ 03

Topics

Exercises

cluster_cxx03 C++ 03 cluster_cxx03_stl Standard Template Library cluster_cxx03_stl_sequential_containers Sequential Containers cluster_cxx03_stl_algorithm Algorithms cluster_cxx03_stl_exercises STL: Exercises cluster_cxx03_stl_exercises_reverse_string Exercise: Reverse A String cluster_cxx03_stl_associative_containers Associative Containers cluster_cxx03_functions_and_methods Functions and Methods cluster_cxx03_standard_library_miscellanea The Standard Library: Miscellaneous Topics cluster_cxx03_data_encapsulation Data Encapsulation cluster_cxx03_exercises_misc Exercises: Miscellaneous cluster_cxx03_inheritance_oo Inheritance and Object Oriented Design cluster_cxx03_templates Templates cluster_cxx03_exercises_userdb Exercises: User Database cluster_cxx03_exceptions Exceptions cluster_cxx03_dynamic_memory Dynamic Memory Allocation, Resource Management cluster_c The C Programming Language cluster_c_introduction Introduction cxx03_introduction Introduction c_introduction_installation Installation cxx03_introduction->c_introduction_installation cxx03_stl_basics Standard Template Library: Basics cxx03_templates_class_templates Class Templates cxx03_stl_basics->cxx03_templates_class_templates cxx03_stl_sequential_containers_vector vector<> cxx03_stl_sequential_containers_basics Sequential Containers cxx03_stl_sequential_containers_vector->cxx03_stl_sequential_containers_basics cxx03_stl_sequential_containers_list list<> cxx03_stl_sequential_containers_list->cxx03_stl_sequential_containers_basics cxx03_stl_sequential_containers_basics->cxx03_stl_basics cxx03_stl_algorithm_sort sort<> cxx03_stl_algorithm_sort->cxx03_stl_basics cxx03_stl_algorithm_reverse_copy reverse_copy<>: Copying and Reversing cxx03_stl_algorithm_reverse_copy->cxx03_stl_basics cxx03_stl_algorithm_lower_bound lower_bound<>: On Sorted Sequence cxx03_stl_algorithm_lower_bound->cxx03_stl_basics cxx03_stl_algorithm_lower_bound->cxx03_stl_algorithm_sort cxx03_stl_algorithm_binary_search binary_search<>: On Sorted Sequence cxx03_stl_algorithm_lower_bound->cxx03_stl_algorithm_binary_search cxx03_stl_algorithm_binary_search->cxx03_stl_basics cxx03_stl_algorithm_binary_search->cxx03_stl_algorithm_sort cxx03_stl_algorithm_find find<>: Sequential Search, by Equality cxx03_stl_algorithm_find->cxx03_stl_basics cxx03_stl_algorithm_find_if find_if<>: Sequential Search, Customizable cxx03_stl_algorithm_find_if->cxx03_stl_algorithm_find cxx03_stl_algorithm_for_each for_each<> cxx03_stl_algorithm_for_each->cxx03_stl_basics cxx03_stl_algorithm_reverse reverse<>: Reversing In-Place cxx03_stl_algorithm_reverse->cxx03_stl_basics cxx03_stl_algorithm_copy copy<> cxx03_stl_algorithm_copy->cxx03_stl_basics cxx03_stl_exercises_reverse_string_exercise Exercise: Reverse a String cxx03_stl_exercises_reverse_string_solution Solution: Reverse a String cxx03_stl_exercises_reverse_string_solution->cxx03_stl_algorithm_reverse_copy cxx03_stl_exercises_reverse_string_solution->cxx03_stl_algorithm_reverse cxx03_stl_exercises_reverse_string_solution->cxx03_stl_exercises_reverse_string_exercise cxx03_stl_associative_containers_multimap multimap<> cxx03_stl_associative_containers_basics Associative Containers cxx03_stl_associative_containers_multimap->cxx03_stl_associative_containers_basics cxx03_stl_associative_containers_basics->cxx03_stl_basics cxx03_stl_associative_containers_map map<> cxx03_stl_associative_containers_map->cxx03_stl_associative_containers_basics cxx03_functions_and_methods_exercise_class_cuboid Exercise (FH): class cuboid cxx03_functions_and_methods_exercise_class_point3d Exercise (FH): class point3d cxx03_functions_and_methods_exercise_class_cuboid->cxx03_functions_and_methods_exercise_class_point3d cxx03_functions_and_methods_operators Operator Overloading cxx03_functions_and_methods_static static Methods cxx03_functions_and_methods_operators->cxx03_functions_and_methods_static cxx03_functions_and_methods_exercise_class_rectangle Exercise (FH): class rectangle cxx03_functions_and_methods_exercise_class_point Exercise (FH): class point cxx03_functions_and_methods_exercise_class_rectangle->cxx03_functions_and_methods_exercise_class_point cxx03_functions_and_methods_exercise_class_point3d->cxx03_functions_and_methods_exercise_class_point cxx03_functions_and_methods_this this cxx03_functions_and_methods_const const cxx03_functions_and_methods_this->cxx03_functions_and_methods_const cxx03_functions_and_methods_references References cxx03_functions_and_methods_references->cxx03_functions_and_methods_this cxx03_functions_and_methods_overloading Overloading cxx03_data_encapsulation_classes_objects Classes and Objects cxx03_functions_and_methods_overloading->cxx03_data_encapsulation_classes_objects cxx03_functions_and_methods_static->cxx03_functions_and_methods_references cxx03_functions_and_methods_methods Methods cxx03_functions_and_methods_methods->cxx03_functions_and_methods_overloading cxx03_functions_and_methods_const->cxx03_functions_and_methods_methods cxx03_standard_library_miscellanea_string std::string cxx03_data_encapsulation_ctor_custom Custom Constructor cxx03_data_encapsulation_ctor_custom->cxx03_data_encapsulation_classes_objects cxx03_data_encapsulation_exercise_FH_sensor_oo Exercise (FH): Introducing a Sensor Class cxx03_data_encapsulation_exercise_FH_sensor_oo->cxx03_data_encapsulation_classes_objects cxx03_data_encapsulation_exercise_FH_sensor_oo_no_polymorphism Exercise (FH): Replace Sensor cxx03_data_encapsulation_exercise_FH_sensor_oo_loop_function Exercise (FH): Extract Measurement Loop Into Function cxx03_data_encapsulation_exercise_FH_sensor_oo_no_polymorphism->cxx03_data_encapsulation_exercise_FH_sensor_oo_loop_function cxx03_data_encapsulation_classes_objects->cxx03_introduction cxx03_data_encapsulation_c Object Oriented Programming In Good Ol’ C cxx03_data_encapsulation_classes_objects->cxx03_data_encapsulation_c cxx03_data_encapsulation_copy_basics Copy Constructor, Assignment Operator cxx03_data_encapsulation_copy_basics->cxx03_data_encapsulation_ctor_custom cxx03_data_encapsulation_ctor_default Default Constructor cxx03_data_encapsulation_copy_basics->cxx03_data_encapsulation_ctor_default cxx03_data_encapsulation_exercise_FH_sensor_oo_loop_function->cxx03_data_encapsulation_exercise_FH_sensor_oo cxx03_data_encapsulation_c->cxx03_introduction cxx03_data_encapsulation_object_copy Object Copy (And Resource Management): There Be Dragons cxx03_data_encapsulation_ctor_dtor More Constructors, Destructors cxx03_data_encapsulation_object_copy->cxx03_data_encapsulation_ctor_dtor cxx03_data_encapsulation_ctor_default->cxx03_data_encapsulation_ctor_custom cxx03_data_encapsulation_exercise_FH_sensor_oo_random_sensor Exercise (FH): Write A Sensor Class: RandomSensor cxx03_data_encapsulation_exercise_FH_sensor_oo_random_sensor->cxx03_data_encapsulation_exercise_FH_sensor_oo cxx03_data_encapsulation_ctor_dtor->cxx03_data_encapsulation_ctor_custom cxx03_data_encapsulation_ctor_dtor->cxx03_data_encapsulation_ctor_default cxx03_exercises_misc_fh_moodle_quiz FH/Moodle Quiz: C++ cxx03_exercises_misc_fh_moodle_quiz->cxx03_functions_and_methods_overloading cxx03_exercises_misc_sum_integers_from_stdin Exercise: Sum of Integers Coming From cin cxx03_exercises_misc_american_flag Exercise: Paint the American Flag Onto Standard Output cxx03_inheritance_oo_todo Inheritance and OO Design (To Be Done) cxx03_dynamic_memory_todo Dynamic Memory (To Be Done) cxx03_inheritance_oo_todo->cxx03_dynamic_memory_todo cxx03_templates_function_templates Function Templates cxx03_exceptions_try_catch try - catch cxx03_templates_function_templates->cxx03_exceptions_try_catch cxx03_templates_class_templates->cxx03_templates_function_templates cxx03_exercises_userdb_userdb_vector_basic Exercise: Use std::vector in UserDB cxx03_exercises_userdb_userdb_vector_basic->cxx03_stl_basics cxx03_exercises_userdb_user_default_ctor Exercise: Default Constructor (was: Arrays of Objects) cxx03_exercises_userdb_userdb_vector_basic->cxx03_exercises_userdb_user_default_ctor cxx03_exercises_userdb_user_const Exercise: Use const cxx03_exercises_userdb_user_const->cxx03_functions_and_methods_references cxx03_exercises_userdb_user_const->cxx03_functions_and_methods_const cxx03_exercises_userdb_user_access_methods Exercise: Access Methods for Members cxx03_exercises_userdb_user_const->cxx03_exercises_userdb_user_access_methods cxx03_exercises_userdb_user_ctor Exercise: Transform struct User Into A Class cxx03_exercises_userdb_user_ctor->cxx03_standard_library_miscellanea_string cxx03_exercises_userdb_user_ctor->cxx03_data_encapsulation_ctor_custom cxx03_exercises_userdb_userdb_search Exercise: Search a User By Lastname cxx03_exercises_userdb_userdb_insert Exercise: Insert a User into UserDB cxx03_exercises_userdb_userdb_search->cxx03_exercises_userdb_userdb_insert cxx03_exercises_userdb_user_simple_method Exercise: Simple Method (Users Age By n Years) cxx03_exercises_userdb_user_simple_method->cxx03_functions_and_methods_methods cxx03_exercises_userdb_user_const_members Exercise: const Members cxx03_exercises_userdb_user_simple_method->cxx03_exercises_userdb_user_const_members cxx03_exercises_userdb_user_access_methods->cxx03_functions_and_methods_methods cxx03_exercises_userdb_user_access_methods->cxx03_exercises_userdb_user_simple_method cxx03_exercises_userdb_user_const_members->cxx03_data_encapsulation_ctor_dtor cxx03_exercises_userdb_user_const_members->cxx03_exercises_userdb_user_ctor cxx03_exercises_userdb_userdb_search_find_if Exercise: Search a User By Lastname (std::find_if) cxx03_exercises_userdb_userdb_search_find_if->cxx03_exercises_userdb_userdb_search cxx03_exercises_userdb_user_default_ctor->cxx03_data_encapsulation_ctor_dtor cxx03_exercises_userdb_user_default_ctor->cxx03_exercises_userdb_user_const cxx03_exercises_userdb_userdb_insert->cxx03_stl_basics cxx03_exercises_userdb_userdb_insert->cxx03_exercises_userdb_userdb_vector_basic cxx03_exercises_userdb_userdb_search_notfound_exception Exercise: Search, “User Not Found” Exception cxx03_exercises_userdb_userdb_search_notfound_exception->cxx03_exercises_userdb_userdb_search_find_if cxx03_exercises_userdb_userdb_search_notfound_exception->cxx03_exceptions_try_catch cxx03_exceptions_basics Basics cxx03_exceptions_basics->cxx03_functions_and_methods_operators cxx03_exceptions_try_catch->cxx03_exceptions_basics