Change name.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Add origin files.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Lab 0.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Convert all structures to C++ classes.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Change the ‘initializer’ functions to C++ constructors.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Change the ‘cleanup’ functions to C++ destructors.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Replace C memory deallocation (free) with C++ memory deallocation (delete).

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Replace C memory allocation (malloc) with C++ memory allocation (new)

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
Replace C input/output/file operations with their C++ equivalent.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>
完成lab 2。

Signed-off-by: CyberZHG <CyberZHG@gmail.com>