Skip to main content

30 docs tagged with "cpp"

View all tags

Arrays

Learn about arrays in JavaScript, Java, Python, and C++. Understand how to declare, initialize, and manipulate arrays across different programming languages.

Arrays in C++

A comprehensive developer's guide to C++ arrays. Learn memory allocation mechanics, declaration, initialization styles, boundary limits, and multi-dimensional grid structures.

C++ Cheatsheet

A fast, practical C++ reference for DSA and competitive programming.

Classes

Learn about classes and object-oriented programming concepts in JavaScript, Java, Python, and C++. Understand how to create, instantiate, and work with classes effectively in these popular languages.

Classes and Objects in C++

An in-depth guide to Object-Oriented Programming in C++. Master classes, objects, access modifiers, constructors, destructors, inheritance, and polymorphism.

Conditionals

Master conditional statements in JavaScript, Java, Python, and C++. Learn how to use if-else, switch statements, and ternary operators for decision-making in programming.

Control Statements in C++

Master decision-making structures in C++, including if-else statement chains, nested blocks, switch-case constructs, and ternary operators.

Data Types and Variables in C++

Master C++ data types, including integers, floating-point numbers, characters, booleans, and strings. Learn variable declaration, initialization, scoping, type casting, and dynamic memory management.

Default Parameters

Learn about Default Parameters, their syntax, usage rules, and important gotchas across programming languages.

Exception Handling in C++

Master runtime anomaly management in C++. Learn how to implement try-catch architectural blocks, utilize standard and user-defined exceptions, manage stack unwinding, and design resilient, fault-tolerant software.

Functions

Learn about functions and how to create and use them in JavaScript, Java, Python, and C++. Understand function declarations, parameters, return values, and best practices.

Functions in C++

Master functions in C++. Learn function declaration, definition, prototypes, parameters passing mechanics (pass-by-value vs pass-by-reference), and the anatomy of execution memory.

Inheritance

Learn about inheritance in JavaScript, Java, Python, and C++.

Inheritance in C++

Master inheritance architectures in C++. Learn single, multiple, multilevel, and virtual inheritance, resolve structural ambiguities like the Diamond Problem, and manage constructor execution chains.

Introduction to C++

Learn the fundamentals of C++ programming, including its history, key features, and how to set up your development environment.

Loops

Explore how to use loops in JavaScript, Java, Python, and C++. Learn about different types of loops and their usage, including for loops, while loops, and do-while loops.

Loops in C++

Master iteration statements in C++, including for, while, do-while loops, range-based iterations, and jump control statements like break and continue.

Objects

Learn about objects in JavaScript, Java, Python, and C++. Understand how to define, create, and use objects effectively in these popular programming languages.

Operators

Explore different types of operators in programming languages like JavaScript, Java, Python, and C++. Understand their usage, precedence, and practical examples.

Operators in C++

A comprehensive guide to C++ operators, including arithmetic, relational, logical, bitwise, assignment, and ternary operators, along with precedence rules.

Pointers in C++

Master C++ pointers. Learn about memory addresses, the address-of and dereference operators, pointer arithmetic, dynamic heap allocation, and how to avoid critical memory bugs.

Polymorphism in C++

Master polymorphism in C++. Explore compile-time static binding via function and operator overloading, versus runtime dynamic binding with virtual functions, vtables, and abstract interfaces.

Standard Template Library (STL) in C++

Master the C++ Standard Template Library (STL). Explore sequence and associative containers, iterator traversal models, high-performance algorithms, and built-in function objects (functors).

Strings

Learn about strings in JavaScript, Java, Python, and C++. Understand how to create, manipulate, and use strings effectively in programming.

Strings in C++

A professional guide to string manipulation in C++. Learn about legacy C-style character arrays, the modern std::string class, manipulation methods, safely parsing text streams, and position indexing.

Templates in C++

An advanced guide to generic programming with C++ templates. Master function templates, class templates, instantiation mechanics, and explicit template specialization.