赞
踩
A*寻路算法的C++实现,共两个文件 astar.h astar.cpp
代码如下
// astar.h BEGIN
// astar.h END
// astar.cpp BEGIN
// astar.cpp END
编译
$ g++ -g -o hello astar.cpp
测试
$ ./hello [round]