Skip to main content

C and C++ Programming Languages

  • Chapter
  • First Online:
Book cover The Innovation in Computing Companion

Abstract

Dennis Ritchie developed the C programming language at Bell Labs in the late 1960s/early 1970s, and it became a popular general-purpose programming language. It is used for both systems programming and in application development and is widely used in industry. The language provides high-level and low-level capabilities, and the language is portable in that a C program written in ANSI C may be compiled for a very wide variety of computer platforms and operating systems (with minimal changes to the source code). C++ is an object-oriented extension of the C programming language, and it was designed to use the power of object-oriented programming and to maintain the speed and portability of C. It provides a significant extension of C’s capabilities, but it does not force the programmer to use the object-oriented features of the language.

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

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.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

Notes

  1. 1.

    One common error in C programs is writing “=" instead of "==.” This totally alters the meaning of the statement.

  2. 2.

    The semicolon in Pascal is used as a statement separator, whereas it is used as a statement terminator in C.

  3. 3.

    It is easy to write a one line C program that is incomprehensible. The maintenance of poorly written code is a challenge unless programmers follow good programming practice. This discipline needs to be enforced by formal reviews of the source code.

References

  • Kernighan B, Ritchie D (1978) The C programming language, 1st edn. Prentice Hall Software Series, Englewood Cliffs

    MATH  Google Scholar 

  • Stroustrup B (2013) C++ programming language, 4th edn. Addison Wesley, Upper Saddle River

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

O’Regan, G. (2018). C and C++ Programming Languages. In: The Innovation in Computing Companion. Springer, Cham. https://doi.org/10.1007/978-3-030-02619-6_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-02619-6_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-02618-9

  • Online ISBN: 978-3-030-02619-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics