proce_jm.cpp

来自「书店管理程序」· C++ 代码 · 共 28 行

CPP
28
字号
     //Proce_JM.cpp
     #  include  <conio.h>

    void Process_JieMian(void)
  {

	textmode(C80);        //设置文本窗口模式
	textbackground(LIGHTGREEN);   //设置文本窗口背景颜色
	textcolor(RED);       //设置文本窗口前景颜色
	window(0,0,79,25);    //设置大的窗口
	clrscr();
	textbackground(BLUE);
	window(2,2,78,7);
	clrscr();
   /* 设置菜单*/
   gotoxy(3,2);  cprintf("F2:Add book to the library");
   gotoxy(3,3);  cprintf("F3:Search book from the library");
   gotoxy(3,4);  cprintf("F4:Sell book from the library");
   gotoxy(3,5);  cprintf("F5:List all book");
   gotoxy(39,2); cprintf("F6: Load the file");
   gotoxy(39,3); cprintf("F7: Save the file");
   gotoxy(39,4); cprintf("F1: Help");
   gotoxy(39,5); cprintf("ESC:Quit without save");
   textcolor(WHITE);
   textbackground(CYAN);
   window(2,7,78,24);
   clrscr();
  }

⌨️ 快捷键说明

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