摘要
分析了C++语言利用指针、引用、内联函数与友元提高程序运行效率的机制,利用静态数据成员及成员函数节省内存开销共享的机制,以及利用继承、模板与多态实现无限制重用已有程序代码的机制,指出C++语言更适合编写大型应用程序.
The efficient mechanism for C + + is composed of pointer, quote, inline, and friend. The share mechanism to save memory in C + + is made up of static data member and member function. And the limitless repetition mechanism to use the source code in existence in C + + involves inheritor, template and polymorph. Therefore C + + is suited to write large-seal application programs.
出处
《烟台师范学院学报(自然科学版)》
2004年第2期108-111,共4页
Yantai Teachers University journal(Natural Science Edition)