Posts Tagged Alocare
How to: Optimize the Memory Space by Heap Memory Allocation in C++
Posted by marius.popa in C++, Data Structures on November 26th, 2009
Memory allocation at the applications run-time enables the use of a storage space, expressed in number of bytes, having the size of heap memory required for data storing defined by the variables. Compile-time allocation allows the reservation and use of storage space with predefined size expressed in number of bytes. In this situation, software developers must anticipate the maximum size of memory space that can be used in the application.
Read the rest of this entry »
How to: Apply the Arithmetic of Pointers and Access the Areas of Heap Memory in C++
Posted by marius.popa in C++, Data Structures on November 21st, 2009
Areas of heap memory are accessed via variables of pointer type [...]. This kind of variable manages values of memory address type.
Arithmetic of pointers [...] involves the operators use to access the areas of heap memory. Allocating of heap memory areas is done by functions and/or operators implemented in programming language.
Read the rest of this entry »
Gradul de optimizare a spatiului de memorie prin alocarea dinamica a memoriei in C++
Posted by marius.popa in C++, Data Structures on October 19th, 2009
Alocarea de memorie la momentul executiei unei aplicatii permite utilizarea unui spatiu de memorie, exprimat in numar de bytes, cu exact dimensiunea de memorie heap necesara pentru stocarea datelor definite prin intermediul variabilelor. Alocarea la momentul compilarii permite rezervarea si utilizarea unui spatiu de memorie cu dimensiune predefinita, exprimata in numar de bytes. In aceasta situatie, dezvoltatorul software trebuie sa anticipeze spatiul de memorie de dimensiune maxima care poate fi utilizat in cadrul aplicatiei.
Read the rest of this entry »
Aritmetica de pointeri si accesarea zonelor de memorie heap in C++
Posted by marius.popa in C++, Data Structures on October 12th, 2009
Zonele de memorie heap sunt accesate prin intermediul variabilelor de tip pointer [...]. Acest tip de variabile gestioneaza valori de tip adresa de memorie.
Aritmetica de pointeri [...] presupune utilizarea operatorilor pentru accesarea zonelor de memorie heap. Alocarea zonelor de memorie heap se realizeaza prin functii si/sau operatori implementati la nivel de limbaj de programare.

in romanian
in english