答案 0 :(得分:1)
通过下载并将其放入guess
:https://github.com/emacsmirror/mode-compile/blob/master/mode-compile.el安装库int guess = 0;
int random = rand.nextInt(20);
while (guess < 3) {
System.out.print("Enter a number between 1-20: ");
int number = input.nextInt();
if (number > random) {
System.out.println("Too Big");
System.out.println("");
} else if (number < random) {
System.out.println("Too Small");
System.out.println("");
} else if (number == random) {
System.out.print('\f');
System.out.println("Correct!");
break;
}
guess++;
}
- 然后,评估新添加的库的缓冲区或重新启动Aquamacs。
交互式函数mode-compile.el
正在查找该库,并在无法找到时抛出错误。相关部分中load-path
个州的文档字符串:“请注意,要在菜单中启用编译选项,您需要安装cperl-check-syntax
。”