Could anyone explain me the meaning of -> in C++ syntax? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Could anyone explain me the meaning of -> in C++ syntax?

My question arise from the study of linked lists data structure in C++ procedural programming

9th Sep 2019, 2:22 PM
riccardo
3 Respuestas
+ 1
obj->var is equivalent to (*obj).var
9th Sep 2019, 2:23 PM
Bebida Roja
Bebida Roja - avatar
0
thank you very much
9th Sep 2019, 2:37 PM
riccardo
0
youre welcome ;)
9th Sep 2019, 2:52 PM
Bebida Roja
Bebida Roja - avatar