0
0
0nk0l0g2016-03-02 19:39:33
C++ / C#
0nk0l0g, 2016-03-02 19:39:33

What materials to read about memory allocation in c++?

Hello.
Please tell me a good article or book, which describes in detail the memory allocation mechanisms in c ++.
Interested in stack and heap.
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maaGames, 2016-03-02
@maaGames

int a; //stack
int * a = new a; // heap
This is all you need to know about stack and heap allocation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question