A modern LaTeX Beamer Theme for academic report, thesis defense, and presentations.
- Trace simple variable among the file.
- Trace array variable among the file.
- Trace variable in the cycle.
- Add description with variable.
- Information including variable name, variable type, value, function container, the line of the trace code, cycle number, and the description.
1
GitHub releases page, click on Assets
at the bottom to show the files available in the release and then click on the head file you want to download. Finally, include the head file in your project.
The library now has two main API:
trace(varName, [a list including cycle variables], [a string of the description])
traceArr(varName, [a list including cycle variables], [a string of the description])
First include the head file in your project by #include "CppTrace.h"
, and then call the two function in the program, it can print the variable's information to command window, including variable name, variable type, value, function container, the line of the trace code, cycle number, and the description.
Author: Fentaniao
Email: Fentaniao@gmail.com
GPL-3.0 License © Fentaniao