V
V
Vladislav Yaroslavlev2015-01-22 13:49:23
Delphi
Vladislav Yaroslavlev, 2015-01-22 13:49:23

Where can I read about a simple explanation of pointers in C/C++?

Is it possible to read somewhere a simple explanation of pointers (all these asterisks, placed on different sides, ->, &) in c / c ++ for a programmer who has been writing in Delphi all his life?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Anton Fedoryan, 2015-01-22
@AnnTHony

Here is a very simple and understandable book for delphists. I learned from it myself.
Or Stephen Prata .

T
tsarevfs, 2015-01-22
@tsarevfs

Well, if you are familiar with caps and dogs, there should not be any problems.
Only the reference type is added, which behaves like a truncated dereferenced pointer.

P
peacefulatom, 2015-01-23
@peacefulatom

I like this author:
ermak.cs.nstu.ru/cprog/html/052.htm
ermak.cs.nstu.ru/cprog/html/062.htm
Only practice will give a total understanding, look for simple problems with linked lists.

D
DancingOnWater, 2015-01-22
@DancingOnWater

A pointer is an address in memory.
There are also addition and subtraction operations. And then cppreference in the teeth. Everything is clear there

S
Sergey, 2015-01-22
@senal

I suggest reading the classics from the creator of the language. You have to read thoughtfully and slowly, but after the third reading of the book, there were practically no questions left. I think that everything is quite simply stated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question