Skip to main content

Abstract

This chapter introduces us to programming in C++. As with any language (not just computer languages) there are several fundamentals that you have to acquire before you can do even the simplest of things. With the aid of the simplest of C++ programs, this chapter illustrates several of the key elements of program construction, such as language keywords, the main () function, program statements and directing program output to the display screen. The program also introduces the processes of compiling and linking a program, user comments, use of the preprocessor and header files and stresses the need for developing a consistent programming style. A good programming style will make your programs more readable and less prone to syntactical errors, and will help you to communicate better with fellow C++ programmers.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 74.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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

© 1996 Springer-Verlag London Limited

About this chapter

Cite this chapter

Seed, G.M. (1996). Getting Started. In: An Introduction to Object-Oriented Programming in C++. Springer, London. https://doi.org/10.1007/978-1-4471-3378-0_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3378-0_3

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-76042-9

  • Online ISBN: 978-1-4471-3378-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics