Hoy estuve platicando nuevo con c++ y quería probar algo que suele utilizar mucho en javascript que normalmente lo llamaba mouse objetos pero es una estructura de datos que permite almacenar información a través de una clave y su valor.
Today I was talking to C++ again and wanted to try something that I usually use a lot in JavaScript, which I normally called mouse objects, but it's a data structure that allows you to store information through a key and its value.![person.png](
Programming with C++ seems fun because I haven't done very complex things yet; at times it's just practicing algorithms and some loops, trying out my own ideas, familiarizing myself with the language, and trying not to forget the semicolon at the end of each expression.![person2.png](
This simple algorithm I created allows you to enter a name and age through the terminal, and then add each item to a vector until the required amount is reached. The name and value of each item in the vector are then printed to the console. I could have done this indefinitely and printed it later, but I didn't want to overcomplicate things for now. I wanted to familiarize myself with it by practicing and learning how to work with the programming language.![person3.png](