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

Developer's Arsenal: How HashiCorp unites cloud securite and upholds the AWS Well-Architected Framework when implementing Policy as Code using Sentinel One.

C++ code base - Cloud provider services menu using if/else, switch/case. 2023.

AWS - Amazon Customer Outreach Ecommerce diagram with notes