Memory management A4

First of all, blog writing should be done at one go. Don't trust two or three days. The problems of the day should be solved and absorbed on the same day. Then be patient. You have to be patient in your study. Refer to this link for some content in this article: c + + memory management (super long, detailed examples, good layout)_ Caogenwangbo ...

Added by pootergeist on Sat, 15 Jan 2022 01:51:43 +0200

The fourth day of c + + Learning

1. Code area It has two characteristics: 1 is sharing, that is, we click on many of the same files, but only execute that piece of code and will not generate another piece of code. 2 is readable, that is, the code is only readable, but cannot be written, otherwise the data will be modified and the game gold coin will be changed 2. Global ...

Added by Jalz on Sat, 15 Jan 2022 01:45:50 +0200

[C + +] dynamic loading DLL

Warning! Using static appears in this article_ Cast and reinterpret_cast conversion between object pointer and function pointer is Microsoft extended syntax The syntax itself is undefined Please do not use it in multi system compatibility projects. It does not guarantee any compatibility, nor does it guarantee that it is legal in non MSVC compi ...

Added by shafiq2626 on Fri, 14 Jan 2022 23:59:53 +0200

C++ Inheritance and Derivation

Protected members are similar to privates and cannot be accessed through objects. But when there is an inheritance relationship, protected and private are different: the protected member in the base class can be used in a derived class, and the privated member in the base class cannot be used in a derived class. You can only declare protected i ...

Added by Big_Ad on Fri, 14 Jan 2022 23:56:19 +0200

STL learning vector

STL learning chapter: vector - Introduction to vector vector is a serialization container with variable length The difference between vector and array: array is a static space, and vector can be expanded dynamically Dynamic expansion: instead of continuing the new space after the original space, find a larger memory space, and then copy the ...

Added by alapimba on Fri, 14 Jan 2022 23:52:52 +0200

Wang Dao exercises in section 2.23 of data structure

Bibliography: 2022 data structure review guide for postgraduate entrance examination organized by Kingway Forum 1. Delete the element with the minimum value from the sequence table (assuming unique) and return the value of the deleted element by the function. The empty position is filled by the last element. If the sequence table is empty, an ...

Added by zalath on Fri, 14 Jan 2022 23:46:08 +0200

Anti cheating method for memory modification

Memory modification cheating means that users modify memory data to modify scores, gold coins and life. This cheating method is the most common and has the lowest threshold. They only need to simply master the use of CE class modifiers. Source program #include <iostream> #include <windows.h> #include <conio.h> int score = 0; ...

Added by phifgo on Fri, 14 Jan 2022 22:27:06 +0200

[C++STL] Part 1: introduction and Simulation Implementation of string class

preface 1, string class in standard library 1.1 string class A class representing a sequence of charactersThe standard string class provides support for such objects. Its interface is similar to that of the standard character container, but it is specially used for operation Design features of single byte character strings.The string c ...

Added by pankirk on Fri, 14 Jan 2022 21:20:27 +0200

Operating system experiment 2: process communication (pipeline and shared memory)

Experiment 2: process communication (I) -- pipeline and shared memory 1, Experimental purpose 1. Be familiar with and master the pipeline mechanism and realize inter process communication 2. Be familiar with and master the mechanism of shared memory, and realize inter process communication 2, Experiment contents and steps 1. Task 1 (1) Read ...

Added by TheHeretic on Fri, 14 Jan 2022 19:19:15 +0200

C + + learning notes 4 [loop statement]

C + + Learning directory link: C + + learning notes directory link (continuously updated) 1, while loop The general form of the while loop statement is as follows: While (expression) statement An expression is generally a relational expression or a logical expression. The value of the expression should be a logical value true or false ...

Added by gp177 on Fri, 14 Jan 2022 15:25:45 +0200