Skip to main content

Datentypen und Variablen

  • Chapter
Softwareentwicklung in C++

Part of the book series: Xpert.press ((XPERT.PRESS))

  • 165 Accesses

Zusammenfassung

Die Verwendung von Variablen ist eines der Grundkonzepte von OO-Sprachen, gleich wie bei imperativen und im Gegensatz zu funktionalen Programmiersprachen. Prinzipiell ist eine Variable ein Datenobjekt, das über einen symbolischen Namen (=Identifier) angesprochen werden kann und dessen Inhalt vom Programm manipuliert werden kann. Zusätzlich zum Identifier besitzen Variablen in C++ auch noch einen Datentyp, der über ihre Natur Auskunft gibt. Damit wird dem Compiler mitgeteilt, welchen Speicherbedarf eine Variable hat und welche Operationen auf ihr ausführbar sind, bzw. wie gewisse Operatoren in diesem Kontext interpretiert werden müssen.

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

© 2003 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Schmaranz, K. (2003). Datentypen und Variablen. In: Softwareentwicklung in C++ . Xpert.press. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-55708-8_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-55708-8_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-62932-7

  • Online ISBN: 978-3-642-55708-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics