C++ script - Maps container, updating key-value pair using the find function, private bool with same name in two different classes, and a for loop to iterate through the map.

  Note: I would appreciate your support of this blog by going to the link below to "Buy me a pizza" so that I may continue to provide educational scripts, resources and general tech stuff. ๐Ÿ•

Thank you.

https://www.buymeacoffee.com/infosec_coder

--------------------------------------------------------------------------------------

Working the a map container and:

- insert function to add key-value pairs

- using a private bool with the same name in two different classes

- using the find function to update a value for a key-value pair

- using a for loop to iterate through the map container


This program was created using Visual Studio for the IDE.

To view an image below clearly, you may right click > open image in new tab> in the new tab, your cursor will turn into a crosshair symbol > left click > will zoom in on script.

-------------------------------------------------------------------------------------------

OUTPUT


-------------------------------------------------------------------------------------------

main.cpp


-------------------------------------------------------------------------------------------

Books.h


-------------------------------------------------------------------------------------------

Books.cpp



Comments

Popular posts from this blog

Python script - Office supply program

2023: Bash script for system administration

Amazon Macie in a nutshell - 2023 AWS service