C++ stack/heap/pointer visualization tool

1 points by medymed ↗ HN
Ran across this simple well-built resource.

First, can switch language to c++ Can paste this example using stack & heap:

class Foo{public:Foo(int _b){bar=_b;}; int bar=4;};

int main() {

int i=1;

Foo *f1=new Foo(4);

return 0;

}

Other languages are enjoyable to explore too (compare with python frame/object visualization).

1 comment

[ 0.22 ms ] story [ 9.7 ms ] thread