Skip to main content

Basic Tools in C++

  • Chapter
SymbolicC++

Abstract

C++ not only corrects most of the deficiencies found in C, it also introduces many completely new features that were designed for the language to provide data abstraction and object-oriented programming. Here are some of the prominent new features:

  • Classes, the basic language construct that consists of data structure and operations applicable to the class.

  • Member variables, which describe the attributes of the class.

  • Member functions, which define the permissible operations of the class.

  • Operator overloading, which gives additional meaning to operators so that they can be used with user-defined data types.

  • Function overloading, which is similar to operator overloading. It allows the same function to have several definitions whereby reducing the need for unusual function names, making code easier to read.

  • Programmer-controlled automatic type conversion, which allows us to blend user-defined types with the fundamental data types provided by C++.

  • Derived classes, also known as subclasses, inherit member variables and member functions from their base classes (also known as superclasses). They can be differentiated from their base classes by adding new member variables, member functions or overriding existing functions.

  • Virtual functions, which allow a derived class to redefine member functions inherited from a base class. Through dynamic binding, the run-time system will choose an appropriate function for the particular class.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag London

About this chapter

Cite this chapter

Shi, T.K., Steeb, WH., Hardy, Y. (2000). Basic Tools in C++. In: SymbolicC++. Springer, London. https://doi.org/10.1007/978-1-4471-0405-6_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0405-6_5

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-85233-260-0

  • Online ISBN: 978-1-4471-0405-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics