hi,i'm beginner for programming and i don't know how to use pointer in a c++ programming.

Edited 5 Months Ago by meron seyoum

There are plenty of books, including online, which will cover those subjects for you. This forum is not a classroom.

I've been programming since 1969 and I don't know how to use them properly either. Neither do the combined resources of Microsoft, Adobe etc, judging by the number of memory-related security errors that they keep finding in their released code.
Pointers are far too error-prone and dangerous for anyone other than a hardware-level programmer to use, so don't worry if you find them difficult.

Beside pointers, the real difficulty is memory management. When to call new() and delete(). Recent languages all come with garbage collection included and this changes everything in pointers management.

Edited 5 Months Ago by Gribouillis