Aprendiendo punteros con c++
Aún sigo estudiando con este lenguaje de programación porque hay muchas cosas que no entiendo y todavía desconozco bastante sobre en qué podría aplicarlo o cómo se vería aplicar pero aprender lógica y cómo funcionan cosas básicas de código ayuda muchísimo porque me permite interpretar código ajeno y cómo poder optimizar funciones.
I'm still studying with this programming language because there are many things that I don't understand and I still don't know a lot about what I could apply it to or what it would look like to apply it, but learning logic and how basic code things work helps a lot because it allows me to interpret other people's code and how to optimize functions.

Los punteros no son nada más guardar la dirección en memoria que contiene otro valor entonces el puntero estaría accediendo a la ubicación de esa variable previamente guardada como la dirección memoria dentro de otra dirección de memoria.
Al principio esto me parecía raro pero comparándolo con otro lenguaje de programación que he utilizado es como tener acceso a una variable sin necesidad de tener que volver a declararla o nombrarla y es una gran ventaja porque optimiza el consumo.
Pointers are nothing more than saving the address in memory that contains another value, so the pointer would be accessing the location of that variable previously saved as the memory address within another memory address.
At first this seemed strange to me but comparing it with another programming language that I have used it is like having access to a variable without having to declare or name it again and it is a great advantage because it optimizes consumption.

Y en el código que mostraré dejaré pequeños ejemplos de cómo se captura la referencia y cómo es un simple puntero.
And in the code that I will show I will leave small examples of how the reference is captured and what a simple pointer is like.
hace mas de dos decadas, con unos amigos en la uni, tuvimos que hacer el juego de battleship en C a punta de punteros.
Lindos recuerdos. jajajaj
Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!
Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).
Consider setting @stemsocial as a beneficiary of this post's rewards if you would like to support the community and contribute to its mission of promoting science and education on Hive.