0

Is there any way to know how the program is executing?

If we know the output of a program but we wanted to how this answer is coming. Is there any code/algorithm to know the procedure in C++?

3rd Mar 2017, 10:18 AM
Abdul Khan
1 Antwort
+ 1
you can use a debugger for that. verify if you have the GDB installed and compile the source code with -g option and call the program with GDB. if you are using a ide it can include a debug running mode, that makes it easy.
3rd Mar 2017, 10:59 AM
Kleber Leal
Kleber Leal - avatar