这段代码中cuberotateUP CLOCKWISE;中报错Error UP was not declared in this scope;应该怎么改class ThistlethwaiteSolver private Cube cube; public void solveCubeState state 使用 Thistlethwaite 算法解决魔方 TODO 实现 This
在使用UP之前需要引入UP的定义,UP定义在Cube类中,因此需要在代码开头加上#include "Cube.h"。
原文地址: https://www.cveoy.top/t/topic/b1nJ 著作权归作者所有。请勿转载和采集!