Tag Archives: memory allocation

C#. Dynamic memory allocation. The ‘new’ operator Memory allocation for value types, structures, enumerations, objects of classes. Memory allocation for arrays




Continue reading C#. Dynamic memory allocation. The ‘new’ operator Memory allocation for value types, structures, enumerations, objects of classes. Memory allocation for arrays

C++. Operators new and delete[]. Memory allocation for structural variables, objects, classes, arrays. Initialization of allocated memory. Example of reallocation of previously allocated memory




Continue reading C++. Operators new and delete[]. Memory allocation for structural variables, objects, classes, arrays. Initialization of allocated memory. Example of reallocation of previously allocated memory

C++. Dynamic and static allocation of memory. Advantages and disadvantages. Allocating memory for single variables by the operators new and delete. Possible critical situations when allocating memory. Initialization when allocating memory




Continue reading C++. Dynamic and static allocation of memory. Advantages and disadvantages. Allocating memory for single variables by the operators new and delete. Possible critical situations when allocating memory. Initialization when allocating memory

C++. Pointers. Part 2. Unmanaged pointers. Operations on pointers. Pointer to type void. Memory allocation. A null pointer. The operation of getting the address &




Continue reading C++. Pointers. Part 2. Unmanaged pointers. Operations on pointers. Pointer to type void. Memory allocation. A null pointer. The operation of getting the address &