TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

C++ stack/heap/pointer visualization tool

1 pointsby medymedover 4 years ago
Ran across this simple well-built resource.<p>First, can switch language to c++ Can paste this example using stack &amp; heap:<p>class Foo{public:Foo(int _b){bar=_b;}; int bar=4;};<p>int main() {<p>int i=1;<p>Foo *f1=new Foo(4);<p>return 0;<p>}<p>Other languages are enjoyable to explore too (compare with python frame&#x2F;object visualization).

1 comment

ForOldHackover 4 years ago
Is this, that?<p><a href="http:&#x2F;&#x2F;pythontutor.com&#x2F;cpp.html#mode=display" rel="nofollow">http:&#x2F;&#x2F;pythontutor.com&#x2F;cpp.html#mode=display</a><p>I tried your code, and was stunned. Now to paste ... something larger