Category Archives: 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 Operators new and delete[]. Memory allocation for structural variables, objects, classes, arrays. Initialization of allocated memory. Example of reallocation of previously allocated memory

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 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

Classes and arrays. A pointer to a static member of the class data. Arrays of static data members. Arrays of pointers to static data members that are declared in classes. Examples

Continue reading Classes and arrays. A pointer to a static member of the class data. Arrays of static data members. Arrays of pointers to static data members that are declared in classes. Examples