Skip to main content

Part of the book series: Informatik & Praxis ((I&P))

  • 199 Accesses

Zusammenfassung

Im nachfolgend gelisteten Programm distance.cpp werden 4 verschiedene Funktionen mit dem gleichen Namen dist definiert. Sie berechnen alle den Abstand eines durch 2 bzw. 3 Koordinaten definierten Punktes vom Nullpunkt, in zwei Funktionen sind die Koordinaten als double-Argumente anzugeben, in den beiden anderen Funktionen als int-Argumente.

Es gibt eine Programmiersprache, bei der man nicht sicher sein kann, daß zwei Operanden, zwischen denen ein + steht, auch wirklich addiert werden: C++.

Die Grundrechenarten sind scheinbar auch nicht mehr das, was sie früher einmal waren.

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 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.95
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

© 1998 B.G. Teubner Stuttgart · Leipzig

About this chapter

Cite this chapter

Dankert, J. (1998). Überladen. In: C++ für C-Programmierer. Informatik & Praxis. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-92730-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-92730-9_3

  • Publisher Name: Vieweg+Teubner Verlag

  • Print ISBN: 978-3-519-02641-9

  • Online ISBN: 978-3-322-92730-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics