⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 whatnow.c

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 C
字号:
#ifndef lintstatic char sccsid[] = "@(#)whatnow.c	4.2	(Berkeley)	4/25/83";#endif not lint#include "stdio.h"#include "lrnref.h"extern	char	togo[];extern	int	review;whatnow(){	if (again) {		if (!review)			printf("\nOK.  That was lesson %s.\n\n", todo);		fflush(stdout);		strcpy(level, togo);		return;	}	if (skip) {		printf("\nOK.  That was lesson %s.\n", todo);		printf("Skipping to next lesson.\n\n");		fflush(stdout);		strcpy(level, todo);		skip = 0;		return;	}	if (todo == 0) {		more=0;		return;	}	if (didok) {		strcpy(level,todo);		if (speed<=9) speed++;	}	else {		speed -= 4;		/* the 4 above means that 4 right, one wrong leave		    you with the same speed. */		if (speed <0) speed=0;	}	if (wrong) {		speed -= 2;		if (speed <0 ) speed = 0;	}	if (didok && more) {		printf("\nGood.  That was lesson %s.\n\n",level);		fflush(stdout);	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -