Programming language - C++

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/4

flashcard set

Earn XP

Description and Tags

Programming language - C++

5 Terms

1
New cards

What is cout?

A standard output stream object used to display information on the screen, paired with the insertion operator (<<)

2
New cards

What is a C++ pointer?

A variable that stores the memory address of another variable, allowing dynamic memory management and indirect access to values.

3
New cards

What is a constructor?

A special member function of a class that is automatically called when an object of that class is created, used to initialize data members

4
New cards

What are the 4 main principles of Object-Oriented Programming supported by C++?

  • Encapsulation (bundling data and methods)

  • Abstraction (hiding complex implementation details)

  • Inheritance (reusing code from a parent class)

  • Polymorphism (using a unified interface for different data types)


5
New cards