© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. DmitrovićModern C++ for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-9274-7_41

41. Projects

Slobodan Dmitrović1  
(1)
Belgrade, Serbia
 

In this chapter, we will create a couple of C++ source code projects. We will start with a blank sheet and build our projects from the ground up, one code snippet at a time. The projects will increase in complexity as we progress through the code. Let us get started.

Project I: Book Inventory

Write a program that manages a book inventory. Requirements:
  • Create a Book class with basic functionality (two data members, two constructors, a couple of getters and setters, and an arbitrary utility member function).

  • In function ...

Get Modern C++ for Absolute Beginners: A Friendly Introduction to the C++ Programming Language and C++11 to C++23 Standards now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.