File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ # tracers.cpp
2+
3+ > ` tracers.cpp ` is a visualization library for C++.
4+
5+ This repository is part of the project [ Algorithm Visualizer] ( https://github.com/algorithm-visualizer ) .
6+
7+ ## Dependencies
8+
9+ - [ nlohmann/json] ( https://github.com/nlohmann/json )
10+
11+ - [ libcurl] ( https://curl.haxx.se/libcurl/ )
12+
13+ ## Installation
14+
15+ 1 . Download and extract the source code in the [ latest release] ( https://github.com/algorithm-visualizer/tracers.cpp/releases/latest ) .
16+
17+ 2 . Change directory to it and run:
18+
19+ ``` bash
20+ mkdir build
21+
22+ cd build
23+
24+ cmake ..
25+
26+ make install
27+ ```
28+
29+ ## Usage
30+
31+ ``` cpp
32+ #include " algorithm-visualizer/LogTracer.h"
33+
34+ int main () {
35+ LogTracer logTracer = LogTracer("Scratch Paper");
36+
37+ logTracer.print("Visualize your own algorithm here!");
38+
39+ return 0;
40+ }
41+ ```
42+
43+ Check out the [ API reference] ( https://github.com/algorithm-visualizer/algorithm-visualizer/wiki ) for more information.
44+
45+ ## Contributing
46+
47+ Check out the [ contributing guidelines] ( https://github.com/algorithm-visualizer/tracers.cpp/blob/master/CONTRIBUTING.md ) .
You can’t perform that action at this time.
0 commit comments