Logo

Programming Linux

Quick search

Navigation

Courses

  • Courses Overview
  • Slide Material
    • Linux
    • Python Programming
    • The C Programming Language
    • C++: TODO List
    • C++: Miscellaneous Live-Hacking
    • C++
      • Introduction
      • Data Encapsulation
      • Functions and Methods
      • Exceptions
      • C++ Template Basics
      • Standard Template Library
      • Dynamic Memory Allocation, Resource Management
      • Inheritance And Object Oriented Design
      • The Standard Library: Miscellaneous Topics
      • Exercises: User Database
        • Exercise: Transform struct User Into A Class
        • Exercise: const Members
        • Exercise: Simple Method (Users Age By n Years)
        • Exercise: Access Methods for Members
        • Exercise: Use const
        • Exercise: Default Constructor (was: Arrays of Objects)
        • Exercise: Use std::vector in UserDB
        • Exercise: Insert a User into UserDB
        • Exercise: Search a User By Lastname
        • Exercise: Search a User By Lastname (std::find_if)
        • Exercise: Search, “User Not Found” Exception
      • Exercises: Miscellaneous
    • The New C++ (11-…)
    • Design Patterns With C++
    • C++ Code
    • C++ Exercises
    • CMake
    • Is Software A Craft? Software Is A Craft! ⟶ Clean Code
    • Unit Testing With googletest
  • How To Book
  • Log Of Past Courses

About

  • Myself: Contact, Impressum, …
  • This Site

Blog

  • Posts

Exercises: User Database¶

  • Exercise: Transform struct User Into A Class
  • Exercise: const Members
  • Exercise: Simple Method (Users Age By n Years)
  • Exercise: Access Methods for Members
  • Exercise: Use const
  • Exercise: Default Constructor (was: Arrays of Objects)
  • Exercise: Use std::vector in UserDB
  • Exercise: Insert a User into UserDB
  • Exercise: Search a User By Lastname
  • Exercise: Search a User By Lastname (std::find_if)
  • Exercise: Search, “User Not Found” Exception
©2019-2025 (GPLv3), Jörg Faschingbauer. | Page source