首页   按字顺浏览 期刊浏览 卷期浏览 Speaking C++ as a native
Speaking C++ as a native

 

作者: Bjarne Stroustrup,  

 

期刊: AIP Conference Proceedings  (AIP Available online 1901)
卷期: Volume 583, issue 1  

页码: 11-21

 

ISSN:0094-243X

 

年代: 1901

 

DOI:10.1063/1.1405256

 

出版商: AIP

 

数据来源: AIP

 

摘要:

C++ supports several styles (“multiple paradigms”) of programming. This allows great flexibility, notational convenience, maintainability, and close-to-optimal performance. Programmers who don’t know the basic native C++ styles and techniques “speak” C++ with a thick accent, limiting themselves to relatively restrictive pidgin dialects. Here, I present language features such as classes, class hierarchies, abstract classes, and templates, together with the fundamental programming styles they support. In particular, I show how to provide generic algorithms, function objects, access objects, and delayed evaluation as needed to build and use flexible and efficient libraries. The aim is to give an idea of what’s possible to provide, and some understanding of the fundamental techniques of modern C++ libraries. ©2001 American Institute of Physics.

 

点击下载:  PDF (1103KB)



返 回