Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

clibalgserver

Build status

代码打包下载

linux编译版本

参见:【算法可视化计划】启程

实现一个算法可视化网站。

代码:C++。

介绍

算法用C语言实现,通过后端处理将C代码编译成可视化步骤。

前端技术栈

  • jQuery
  • LayUI
  • layx
  • Vue
  • Ace editor
  • eventbus
  • Chartjs
  • Gojs

调试接口

// 控制台输出
void trace_log(char* text);
// 追踪单个变量
void trace_var(char* name, void* arr, int type);
// 追踪一维数组
void trace_array_1d(char* name, void* arr, int type, int cols);
// 追踪二维数组
void trace_array_2d(char* name, void* arr, int type, int rows, int cols);
// 取消追踪
void trace_end(char* name);
// 设置原子操作
void trace_rapid(int flag);
// 追踪一维数组图表
void trace_array_1d_chart(char* name, void* arr, int type, int cols);
// 追踪图(邻接矩阵)
void trace_graph(char* name, void* id, void* adj, int inf, int type, int n);
// 等待
void trace_delay(int flag);

知乎文章列表

截图

main

main

main

main

main

main

main

You can’t perform that action at this time.