For C ++ there are visualizers of educational programs that you can try:
- VIP (Visual InterPreter), you can visualize your own code by editing one of the examples on the site. However, it only supports C ++ - a subset.
- Learning machine , can be used as a Java program or Eclipse plugin.
EDIT: Updated Learning Machine link.
source share