C ++ (reproduced)

zhaozj2021-02-16  38

In order to explain you, I can simply list some of the capabilities of some modern C libraries:

※ You can eliminate the resource (not only memory) leakage by using Auto_PTR, Smart Pointer.

※ You can generate an array of fixed-size, dynamic arrays, stacks, queues, and double queues.

Priority queues, stacks, collections, ordered mapping tables, disorder mapping tables, and diagrams.

※ You can use the same code to access a variety of different containers.

※ There is a very well-designed String, and it can easily support internationalization.

※ C IO stream library can abstract all data input output models, and its design is extremely delicate, as long as

Write a stream_buf class yourself, you can use the same code to implement transparent access to various data streams.

The same function, you have to remember the interrelationship between more than a dozen classes in Java.

※ Use BLITZ , C high-speed numerical computing power has surpassed Fortran.

※ Parallel value calculation has no doubt, which is reflected in Pooma, Blitz and MTL libraries.

※ The C network layer based on TAO / ACE provides a very good network computing environment and CORBA implementation.

※ There is a Template-based portable high-efficiency thread library (just appearing, it also needs to be improved).

※ There is a powerful regular expression function, which is very easy to use, and is very efficient.

※ The memory can be used completely and easily, and easily establish its own memory pool.

※ CRC redundant check

※ Data compression access

※ Several heterogeneous objects are viewed as a value (similar to python in python)

转载请注明原文地址:https://www.9cbs.com/read-26572.html

New Post(0)