Skip to main content

Nützliche Klassen der C++-Standard-Bibliothek

  • Chapter
  • First Online:
Book cover C/C++ anwenden
  • 9207 Accesses

Zusammenfassung

Die Standard-Bibliothek von C++, oft auch Standard Template Library (STL) genannt, ist sehr mächtig und umfangreich. Sie besteht aus zahlreichen Klassen, meist sogenannten Template-Klassen, von denen viele als Behälter für Daten fungieren (Container-Klassen). Wir werden uns hier auf drei nützliche Beispiele beschränken, die Klassen string, vector und thread. Die Klasse string ist ein Datentyp zur komfortablen Speicherung von Zeichenketten. Die Klasse vector kann wie ein Array viele Werte eines Datentyps speichern, ist aber wesentlich flexibler einsetzbar. Die letztgenannte Klasse, thread, kann zur Programmierung von parallelen Abläufen innerhalb eines Programms eingesetzt werden.

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

Access this chapter

eBook
USD 24.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

© 2019 Springer Fachmedien Wiesbaden GmbH, ein Teil von Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Hoch, T., Küveler, G. (2019). Nützliche Klassen der C++-Standard-Bibliothek. In: C/C++ anwenden. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-22165-2_17

Download citation

Publish with us

Policies and ethics