>>692
# include <stdio.h>

void move_one(const char *from, const char *to)
{
  printf("%s -> %s\n", from, to);
}

void move(int n, const char *from, const char *to, const char *aux)
{
  if(n == 1)
    move_one(from, to);
  else
  {
    move(n-1, from, aux, to);
    move_one(from, to);
    move(n-1, aux, to, from);
  }
}

int main(void)
{
  move(3, "第一軸", "第三軸", "第二軸");
  return 0;
}