资源介绍
#include "stdafx.h"
#include "conio.h"
#include "iostream.h"
#include "fstream.h"
//-------------------------------Menu----------------------#define KEY_EXIT '-'
typedef struct
{
char ch;
char *label;
void (*pfunc)();
}MenuItemDef;
void clearscr()
{
cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
}
int waitakey()
{
return getch();
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class MenuDef
{
public:
int nCount;
MenuItemDef menu[24];
public:
MenuDef(){nCount=0;}
public:
void display()
{
for(int i=0; i
- 上一篇: 操作系统实践心得
- 下一篇:没有了