C++ code visualizer
Free online C++ code visualizer: run C++ step by step and see objects, constructors and destructors, references, vectors, strings, maps and exceptions.
Opening the visualizer…
About the C++ code visualizer
C++ runs on the same in-browser interpreter as C, with classes, inheritance and virtual functions, templates, references, new and delete, exceptions, and the standard library's string, vector, map, set, stack, queue and algorithms.
Objects show their members, a vector its items and a string its text; constructor and destructor calls appear as frames on the call stack. It catches shallow-copy double deletes, delete and delete[] mix-ups and uncaught exceptions. cin reads from the input box.