I started reading Bjarne Stroustrup C++ Programming Practises and Principles. Recently I have been stuck on Chapter 6 and 7 with the Parser 'Simple Calculator' program the book was teaching.
When analysing abstract programs its hard to know how functions and objects manipulate input streams and where it sends them after. In this book when he introduced parsing there are times when an object function calls a object where that object calls a recursion, where that recursion calls another method that calls two separate recursions.... it makes you wonder to yourself how you managed to learn and understand the derivation of the Gravitational Constant g but a simple calculator
In V.S.I heard you can use the debugger and toggle checkpoints but there has to be a more efficient way when:
You don't know where the code is going...
Here it is:
View Code Snippet » Code Viewer - Source Code Upload/Viewer
My question is ~ how can I better analysis and keep track of the variable values of the input stream >> output stream. If you can help me use the debugger for such complexity I guess the question wont be opinion based..