The C++ Programming Language

 

The C++ Programming Language


Click below to go directly to a specific section:
History | Significant Language Features | Areas of Application | Sample Programs
Related Links | Printed References | Acknowledgments

History

The C++ programming languages is an extension of C that was developed by Bjarne Stroustrup in the early 1980s at Bell Laboratories. C++ provides a number of features that "spruce up" the C language, but more importantly, it provides capabilities for object-oriented programming.

Significant Language Features

Object-oriented programs are easier to understand, correct and modify. Many other object-oriented languages have been developed, including most notably, Smalltalk. The best features of C++ are:
  • C++ is a hybrid language-it is possible to program in either a C-like style, an object-oriented style, or both.
  • C++ programs consist of pieces called classes and functions. You can program each piece you may need to form a C++ program. The advantage of creating your own functions and classes is that you will know exactly how they work. You will be able to examine the C++ code.

Areas of Application

C++ provides a collection of predefined classes, along with the capability of user-defined classes. The classes of C++ are data types,which can be instantiated any number of times. Class definitions specify data objects (called data members) and functions (called member function). Classes can name one or more parent classes, providing inheritance and multiple inheritance, respectively. Classes inherit the data members and member functions of the parent class that are specified to be inheritable. Therefore it is mainly used for:
  • Software Engineering
  • Graphics

Sample Programs


Related Links


Printed References

  1. H.M. DEITEL/P.J. DEITEL(1994). C++ How to Program. PRENTICE HALL, Englewood cliffs, New Jersey.
  2. Robert W. Sebesta, Third edition, (1996). Concepts of Programming Languages. Addison-Wesley Publishing, CA.

Acknowledgments

The Hello World! program was written with the help of the
Hello, World Page!.
[Prev] [Home] [Next]

Last modified: 11:07 PM on 11/13/1999
This page has been accessed CIS290 C++ Programming Language
Course description. Taught at the University of Michigan- Dearborn.

Hello World!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值