La vida esta allá avatar

Aprendiendo punteros con c++

dobro2020

Published: 19 Jun 2026 › Updated: 19 Jun 2026Aprendiendo punteros con c++

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.

puntero.png
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.

puntero1.png
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.

Leave Aprendiendo punteros con c++ to:

Written by

Soy desarrollador de software

Read more #spanish posts


Best Posts From La vida esta allá

We have not curated any of dobro2020's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From La vida esta allá