HomeSimulators › C++

C++

Classes, objects, inheritance, polymorphism, STL

50+ simulators are FREE — no login needed! Try them now. Sign up to unlock all 1209 simulators. Sign Up Free

99 simulators found.

CPP01 · C++

C++ Class and Object Visualizer

C++ Class and Object Visualizer — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP02 · C++

Constructor Destructor Flow

Constructor Destructor Flow — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP03 · C++

Inheritance Tree

Inheritance Tree — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP04 · C++

Function Overloading

Function Overloading — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP05 · C++

Operator Overloading Concept

Operator Overloading Concept — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP06 · C++

Runtime Polymorphism Demo

Runtime Polymorphism Demo — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP07 · C++

Encapsulation Access Specifier Demo

Encapsulation Access Specifier Demo — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPP08 · C++

STL Vector Operations

STL Vector Operations — interactive visual simulator with step-by-step explanation and exam answer format.

Intermediate Login Open →
CPPX01 · C++

C++ Function Template

Generic functions with template<typename T>.

Intermediate Login Open →
CPPX02 · C++

C++ STL map

Sorted key-value container; word frequency demo.

Intermediate Login Open →
CPPX03 · C++

C++ STL set

Unique, sorted element container.

Intermediate Login Open →
CPPX04 · C++

C++ STL stack and queue

LIFO stack vs FIFO queue.

Intermediate Login Open →
CPPX05 · C++

C++ Reference vs Pointer

Aliases vs address variables.

Intermediate Login Open →
CPPX06 · C++

C++ Static Members

Class members shared by all objects.

Intermediate Login Open →
CPPX07 · C++

C++ Friend Function

Access private members from outside the class.

Intermediate Login Open →
CPPX08 · C++

C++ Virtual and Abstract Class

Pure virtual functions and abstract classes.

Advanced Login Open →
CPPX09 · C++

C++ Exception Handling

try / throw / catch error handling.

Intermediate Login Open →
CPPX10 · C++

C++ Copy Constructor

Create an object as a copy of another.

Advanced Login Open →
CY01 · C++

cout and cin

cout and cin — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY02 · C++

Variables and Data Types

Variables and Data Types — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY03 · C++

const and constexpr

const and constexpr — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY04 · C++

Arithmetic Operators

Arithmetic Operators — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY05 · C++

Relational and Logical Operators

Relational and Logical Operators — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY06 · C++

Bitwise Operators

Bitwise Operators — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY07 · C++

static_cast

static_cast — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY08 · C++

Increment Decrement

Increment Decrement — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY09 · C++

sizeof Operator

sizeof Operator — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY10 · C++

auto Keyword

auto Keyword — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY11 · C++

Namespaces

Namespaces — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY12 · C++

Preprocessor Directives

Preprocessor Directives — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY13 · C++

Header Files

Header Files — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY14 · C++

cmath Functions

cmath Functions — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY15 · C++

Implicit Type Conversion

Implicit Type Conversion — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY16 · C++

if-else

if-else — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY17 · C++

if-else-if Ladder

if-else-if Ladder — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY18 · C++

switch

switch — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY19 · C++

for Loop

for Loop — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY20 · C++

while Loop

while Loop — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY21 · C++

do-while Loop

do-while Loop — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY22 · C++

Range-based for

Range-based for — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY23 · C++

break

break — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY24 · C++

continue

continue — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY25 · C++

goto

goto — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY26 · C++

Nested Loops

Nested Loops — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY27 · C++

Ternary Operator

Ternary Operator — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY28 · C++

Function Definition

Function Definition — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY29 · C++

Pass by Value

Pass by Value — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY30 · C++

Pass by Reference

Pass by Reference — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY31 · C++

Default Arguments

Default Arguments — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY32 · C++

Inline Functions

Inline Functions — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY33 · C++

Recursion

Recursion — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY34 · C++

Pass Array to Function

Pass Array to Function — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY35 · C++

Return by Reference

Return by Reference — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY36 · C++

Function Pointers

Function Pointers — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY37 · C++

Lambda Expressions

Lambda Expressions — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY38 · C++

constexpr Functions

constexpr Functions — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY39 · C++

1D Array

1D Array — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY40 · C++

2D Array

2D Array — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY41 · C++

Array of Strings

Array of Strings — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY42 · C++

C-style Strings

C-style Strings — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY43 · C++

std::string

std::string — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY44 · C++

string Methods

string Methods — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY45 · C++

string Concatenation

string Concatenation — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY46 · C++

Array Sum and Max

Array Sum and Max — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY47 · C++

std::sort

std::sort — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY48 · C++

Linear Search

Linear Search — interactive C++ simulator with code, output and how-to-run.

Beginner Login Open →
CY49 · C++

Pointer Basics

Pointer Basics — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY50 · C++

Pointer Arithmetic

Pointer Arithmetic — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY51 · C++

Pointers and Arrays

Pointers and Arrays — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY52 · C++

Null Pointer

Null Pointer — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY53 · C++

new and delete

new and delete — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY54 · C++

Dynamic Array

Dynamic Array — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY55 · C++

Pointer to Pointer

Pointer to Pointer — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY56 · C++

unique_ptr

unique_ptr — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY57 · C++

shared_ptr

shared_ptr — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY58 · C++

References

References — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY59 · C++

this Pointer

this Pointer — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY60 · C++

Constructor Types

Constructor Types — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY61 · C++

Member Initializer List

Member Initializer List — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY62 · C++

Destructor

Destructor — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY63 · C++

Access Specifiers

Access Specifiers — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY64 · C++

Inheritance Access Modes

Inheritance Access Modes — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY65 · C++

Multiple Inheritance

Multiple Inheritance — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY66 · C++

Multilevel Inheritance

Multilevel Inheritance — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY67 · C++

Virtual Destructor

Virtual Destructor — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY68 · C++

Diamond Problem

Diamond Problem — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY69 · C++

Function Overriding

Function Overriding — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY70 · C++

const Member Functions

const Member Functions — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY71 · C++

Nested Class

Nested Class — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY72 · C++

Array of Objects

Array of Objects — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY73 · C++

STL list

STL list — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY74 · C++

STL deque

STL deque — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY75 · C++

STL pair

STL pair — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY76 · C++

STL Iterators

STL Iterators — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY77 · C++

STL sort and find

STL sort and find — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY78 · C++

STL accumulate

STL accumulate — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY79 · C++

unordered_map

unordered_map — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY80 · C++

Class Template

Class Template — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →
CY81 · C++

Custom Exception Class

Custom Exception Class — interactive C++ simulator with code, output and how-to-run.

Intermediate Login Open →