Hello.
I know the basics of C++. I know pointers, but I have a problem with this.
I know how to create pointers. I know how to output the address of a variable in memory. But what for it is necessary, where it is necessary to use, I do not know.
I know the only example of using pointers. Dynamic arrays. But at this time I can not realize this myself.
I've heard that I can write values into memory through pointers, because if you write a value into a variable through the variable itself, it will not be as fast as the pointer. But I do not know if it's true.
What other examples are there?
Thanks in advance!
Pages 1