Tag Archives: initialization

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++. References. Basic consepts. References to variables, structures, unions and class objects. Differences between references and pointers. Examples




Continue reading C++. References. Basic consepts. References to variables, structures, unions and class objects. Differences between references and pointers. Examples

C++. 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 C++. 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