The characteristics of this book are synthesis: variables and pointers, arrays and pointers, functions and pointers are a synthesis; C strings and C++ strings are a synthesis; quick sorting and power set problems are classified into pre-order traversal, and hanio problems are classified into in-order traversal and heap sorting. The Huffman tree is a direct application of the heap class. The Eight Queens problem is solved in the foreground order traversal of the tree, which is synthesis; the maze belongs to the hierarchical traversal of the graph, and the knight's parade belongs to the preorder traversal of the graph, which is still synthesis.
The innovation of this book is to reorganize C programs from an object-oriented perspective to provide a sufficient perceptual foundation for C++. "C++ is just better C", which is fully reflected in this book.
The principle of this book is that learning data structures and learning programming languages progress together, and the intermediary between them is algorithms. Language can only be understood and mastered if it meets the needs of algorithms, and data structures can only expand their application fields by relying on the development of language.
In short, each part has no independent reason for existence, and their meaning can only be clearly answered in their interdependence and mutually complementary relationship.
It is this unity that has led to the creation of multimedia
software that can be used as both a teaching assistant and a learning aid—CD-ROM with books. It is this unity that enables abstract types and storage types, every step of an algorithm and every line of program code, C programs and C++ programs to be displayed at the same time and complement each other.