Skip to main content

Verzweigungen und Schleifen

  • Chapter
  • First Online:
Softwareentwicklung mit C++

Part of the book series: Studienbücher Informatik ((SBI))

  • 8908 Accesses

Zusammenfassung

In diesem Kapitel werden wir uns mit grundlegenden Schlüsselwörtern der Sprache C/C++ beschäftigen, die zu Programmverzweigungen führen. Viele davon haben wir bereits in den vergangenen Kapiteln genutzt. Sie sind in der Tabelle 4.1 auf Seite 70 zusammengefasst. Ganz konkret wird es in diesem Kapitel um die folgenden Anweisungen gehen:

• Die if-Anweisung

• Der ternäre Operator

• Die switch-Anweisung

• Die for-Anweisung

• Die while-Anweisung (kopflastige while-Schleife)

• Die do-Anweisung (fußlastige while-Schleife)

• Die break-Anweisung

• Die continue-Anweisung

• Die goto-Anweisung

Selbstverständlich gilt auch für dieses Kapitel: man kann sich all diese Schlüsselwörter mit der Hilfe F1 klarmachen.

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

Corresponding author

Correspondence to Dieter Duschl .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer Fachmedien Wiesbaden GmbH

About this chapter

Cite this chapter

Duschl, D. (2017). Verzweigungen und Schleifen. In: Softwareentwicklung mit C++. Studienbücher Informatik. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-18123-9_5

Download citation

Publish with us

Policies and ethics