Posts Tagged Pointer

How to: Optimize the Memory Space by Heap Memory Allocation in C++

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 »

, , , , , , , , ,

No Comments

How to: Implement Arithmetic of Pointers in C++

In C++ programming language, memory areas can be accessed indirectly through pointer type variable [...]. Also, available with a memory address, it ensures movement on memory areas from the memory address stored in the variable pointer. This is ensured by arithmetic operators and it is called arithmetic of pointers.
Read the rest of this entry »

, , , , , , , , ,

1 Comment

How to: Apply the Arithmetic of Pointers and Access the Areas of Heap Memory in C++

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 »

, , , , , , , , , ,

No Comments

How to: Define and Use the Pointers Variables in C++

The pointer type variables allow the accessing of memory areas with numerical content for the management of the values which represent memory addresses. The dimension of a pointer variable depends on the processor architecture.
In the C++ programming language, the definition template of a pointer variable is:
Read the rest of this entry »

, , , , ,

2 Comments

Gradul de optimizare a spatiului de memorie prin alocarea dinamica a memoriei in C++

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 »

, , , , , , , , ,

No Comments

Implementarea aritmeticii de pointeri in C++

In limbajul de programare C++, zonele de memorie pot fi accesate indirect prin variabile de tip pointer [...]. De asemenea, avand la dispozitie o adresa de memorie, se asigura deplasarea pe zona de memorie pornind de la adresa stocata in variabila pointer. Acest lucru se asigura prin operatori aritmetici si poarta denumirea de aritmetica de pointeri.

Read the rest of this entry »

, , , , , , , , ,

1 Comment

Definirea si utilizarea variabilelor de tip pointer in C++

Variabilele de tip pointer permit accesarea de zone de memorie cu continut numeric pentru gestionarea valorilor ce reprezinta adrese de memorie. Dimensiunea unei variabile pointer depinde de arhitectura procesorului.

Read the rest of this entry »

, , , , , , , , ,

2 Comments

Aritmetica de pointeri si accesarea zonelor de memorie heap in C++

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.

Read the rest of this entry »

, , , , , , , , , ,

2 Comments