+ 1
how to run my code in single step executions?
4 Answers
+ 2
You could either
⢠Add comments to help you understand each step of the code.
⢠cout <<
something every time something happens in your code so you know what is happening.
⢠(Windows only) use
system("pause")
to make it so you have to press any key to continue to the next step.
+ 1
What do you mean?
+ 1
single step executions give the code in better understanding way that is how this code is actually working in my real time applications
0
single step is a function of the IDE. I do not use IDE so I put "cout << myvar;cin >> dummy;" between each line but cout the variables you want to watch.