C++: STL & OOP
59 cards · 🇺🇸 English
C++ Standard Template Library and object-oriented programming essentials.
Study all 59 cards for free
Flashcards, quizzes, pixel-art games and a daily review that remembers for you.
Try the first 10 cards
1 / 10STL
Tap the card for the answer · swipe right if you knew it, left if not
Already have an account? Sign in
Cards
- 1STLStandard Template Library - a collection of containers, algorithms, and iterators in C++
- 2Three main components of the STLContainers, Iterators, and Algorithms
- 3Std::vectorA dynamic array that can grow or shrink in size
- 4Std::listA doubly-linked list container
- 5Std::mapAn associative container that stores key-value pairs in sorted order (balanced tree)
- 6Std::setA container that stores unique elements in sorted order (balanced tree)
- 7Std::unordered_mapA hash table-based associative container for key-value pairs (unsorted)
- 8Std::unordered_setA hash table-based container for unique elements (unsorted)
- 9Std::queueA FIFO (first-in, first-out) container adapter
- 10Std::stackA LIFO (last-in, first-out) container adapter
- 11Std::dequeA double-ended queue allowing fast insertion/deletion at both ends
- 12Std::priority_queueA container adapter providing priority-based element access
- 13Iterator in C++An object that points to elements in a container and allows traversal
- 14begin() vs end()begin() points to the first element; end() points one past the last element
- 15Std::sort()An algorithm that sorts elements in a range (typically O(n log n))
- 16Std::find()An algorithm that searches for a value in a range and returns an iterator
- 17Std::transform()An algorithm that applies a function to each element and stores results
- 18Std::for_each()An algorithm that applies a function to each element in a range
- 19Class in C++A user-defined type that encapsulates data and functions (methods)
- 20Three access specifiers in C++public, private, protected
- 21EncapsulationBundling data and methods that operate on the data within a single unit (class)
- 22Inheritance in C++A mechanism where a class (derived) acquires properties and behaviors of another class (base)
- 23Polymorphism in C++The ability to use a single interface to represent different underlying forms (types)
- 24Virtual functionA member function that can be overridden in a derived class for runtime polymorphism
- 25Pure virtual functionA virtual function with = 0, making the class abstract: virtual void func() = 0;
- 26Abstract classA class with at least one pure virtual function that cannot be instantiated
- 27struct vs classstruct members are public by default; class members are private by default
- 28ConstructorA special member function that initializes objects when they are created
- 29DestructorA special member function that cleans up resources when an object is destroyed
- 30Constructor overloadingDefining multiple constructors with different parameter lists in the same class
And 29 more cards. Study the whole deck free
Articles about this deck
More Programming decks
See all- 🟣
C#: Fundamentals & .NET Core
99 cards · 🇺🇸 English
Core C# syntax, types, and .NET Core concepts in one deck.
- ⚙️
C: Pointers, Memory & Syntax
75 cards · 🇺🇸 English
Core C syntax, pointers, and manual memory management.
- 🧱
Data Structures
95 cards · 🇺🇸 English
Arrays, linked lists, trees, graphs, hash tables and their core operations.
- 🌐
APIs: REST, GraphQL & HTTP Status Codes
108 cards · 🇺🇸 English
REST and GraphQL API concepts plus common HTTP status codes.
- 🎨
CSS: Box-Modell, Selektoren & Media Queries
129 cards · 🇺🇸 English
Das CSS-Box-Modell, Selektortypen, Media Queries und Animationen.
- ☕
Java: Core Concepts & OOP
73 cards · 🇺🇸 English
Core Java syntax and object-oriented programming fundamentals.
