- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Pointers and memory
Pointers, pointer arithmetic, dynamic memory and RAII, the parts that make C and C++ different.
- Lesson 1 challenge Pointers and Addresses Store an address, dereference it, and modify the original object.
- Lesson 1 challenge Pointer Arithmetic Walk through contiguous array storage with pointers and iterators.
- Lesson 1 challenge Dynamic Memory Management Allocate a runtime-sized array and release it safely.
- Lesson 2 challenges Multidimensional Arrays Traverse a row-major matrix and calculate row totals.
- Lesson 1 challenge RAII and Deterministic Cleanup Tie resource lifetime to object lifetime.
- Lesson 2 challenges Dynamic Array and std::vector Grow contiguous storage as values are appended.