Tag Archives: new

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