V
V
Vladislav2016-01-04 21:54:00
C++ / C#
Vladislav, 2016-01-04 21:54:00

What literature, resources on pointers and dynamic arrays can you recommend?

Not long ago I began to study pointers, and to be honest, I just don’t understand them.
I would like to know more about them, especially examples of use, and more practice with answers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Martyanov, 2016-01-04
@vilgeforce

In a nutshell: a pointer stores the address of some memory location. Through dereference of the pointer it is possible to read/write this memory. Arithmetic operations such as addition and subtraction on pointers - changing the pointer by as many bytes as it takes one unit of data to which it points. Convenient for "get the 123rd DWORD from an array when the array starts at 0x400000" and the like.

A
abcd0x00, 2016-01-05
@abcd0x00

Use the C literature. Prat has a lot of practice with pointers. But a lot of practice is not needed, a good explanation is needed, and it is in the main C book .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question