C++ - Using map container with user input to map a string and int.

  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

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

When using the map container to map key-value pairs, you have to create separate maps if one key-value pair contains a string and one is an int.

Used getline to show there is more than one way to map a key-value pair with user input.




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