Skip to content
    SeaCode
    Learning tracksCode ArenaWorkshops & EventsInstructors
    Log inSign up
    Interactive tutorials / C++
    C++

    C++

    From your first program to pointers, memory, classes, templates and the STL. Every example is compiled and run on a real server, with self-checking exercises and a final project.

    Start the first lesson

    Every chapter is an island. Finish its lessons, beat its challenge, and sail on ⛵

    ⛵ You are here
    🏝️

    Island 1

    C++ fundamentals

    0/5
    1. Your first C++ programWhat a compiled language is, the parts of a program, and cout.8 min2 🎮
    2. Variables and typesint, double, char, bool, string, auto and const, and why types matter.9 min3 🎮
    3. Operators and input%, ++, compound operators, cin, and operator precedence.8 min3 🎮
    4. Conditions: if and switchif/else, logical operators, switch and the ternary operator.9 min2 🎮
    5. Loopsfor, while and do-while, break and continue, and nested loops.10 min3 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 2

    Functions and collections

    0/5
    1. FunctionsDefining and returning, default arguments, and overloading.9 min2 🎮
    2. References: by value or by reference?Does a function get a copy or the original, and why const& is everywhere.9 min2 🎮
    3. Strings and arraysstd::string and its methods, fixed arrays, and std::array.9 min2 🎮
    4. std::vectorAn array that grows itself: push_back, size versus capacity, and how it's stored.10 min2 🎮
    5. map, set and unordered_mapLook things up by key, count occurrences, and drop duplicates.10 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 3

    Memory and pointers

    0/3
    1. PointersAddresses, * and &, nullptr, and pointers with arrays.11 min3 🎮
    2. Stack, heap, new and deleteMemory that frees itself, and memory you're responsible for.10 min3 🎮
    3. Smart pointers and RAIIunique_ptr and shared_ptr, and the idea that makes C++ safe.11 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 4

    Classes and OOP

    0/4
    1. struct and classData and functions in one type, public and private, and const methods.10 min3 🎮
    2. Constructors and destructorsInitializer lists, when destructors run, and the rules of zero and three.11 min2 🎮
    3. Inheritance and virtual functionsOne class building on another, polymorphism, and why destructors must be virtual.12 min2 🎮
    4. TemplatesWrite a function or class once and use it with any type.10 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 5

    The STL and professional C++

    0/4
    1. Algorithms and lambdassort, find_if, count_if and accumulate, with one-line functions.11 min3 🎮
    2. Exceptionsthrow, try and catch, the standard error types, and how RAII fits in.9 min2 🎮
    3. RecursionA function calling itself: the base case, the call stack, and memoization.10 min2 🎮
    4. Project: a grade bookClasses, vectors, maps, algorithms and exceptions in one program.15 min3 🎮
    Island challenge (Boss)+30 XP
    SeaCode

    Learn to code for real, online or at our branch in front of Cairo University, Giza.

    Learn

    • All courses
    • Interactive tutorials
    • Interview practice problems
    • Mock interview
    • Learning tracks
    • Code Arena
    • Workshops & Events
    • Knowledge library
    • Team projects

    Your account

    • Log in
    • Sign up
    • Learning plan
    • Certificates
    • Site map

    Contact us

    • WhatsApp
    • 010 9094 1104
    • In front of Cairo University, Giza

    © 2026 SeaCode. All rights reserved.