//---------This module aimmed to make this software more like a software.---------//
void entering_font()//ENTERING
{
system("cls");
cout << endl;
cout << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << endl;
cout << " In the entering process, please waiting several seconds......" << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
Beep(523, 300);
Beep(578, 200);
Beep(659, 100);
Beep(698, 100);
Beep(784, 100);
system("cls");
}
void quiting_font()//QUIT
{
system("cls");
cout << endl;
cout << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << endl;
cout << " Information in auto saving, please waiting several seconds......" << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
Beep(784, 300);
Beep(698, 200);
Beep(659, 100);
Beep(578, 100);
Beep(523, 100);
system("cls");
}
void input_titledisplay(int i)//TITLE DISPLAYED IN THE PROCESS OF TYPING
{
cout << endl;
cout << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " " << i << " employee's information have already been saved !!!" << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
}
void employee_information_modifytitle()//SECOND MENU
{
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " Enterprise Manage System " << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " THIS IS THE INFORMATION MODIFY MODULE!!! " << endl;
cout << endl;
cout << " 1.Employee Information Display " << endl;
cout << " 2.Search For Specific Employee And Edit " << endl;
cout << " 3.Back To The Upper Menu " << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " ";
}
void display_employeeinformation_title()//TELL YOU THAT THERE ARE THE INFORMATION YOU WANT
{
cout << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " ALL THE EMPLOYEES' INFORMATION ARE HERE!!!" << endl;
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
}
void modify_or_delete()
{
cout << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " Choose One You Want To Edit!!! " << endl;
cout << endl;
cout << " 1.Job Number 2.Name 3.Female/Male" << endl;
cout << " 4.Department 5.Level 6.Work's Type" << endl;
cout << " 7.Working Hours 8.Exit " << endl;
cout << " 9.Or You Just Want To Delete This one? " << endl;
cout << " ---------------------------------------------------------------------------- " << endl;
cout << " So give me your choice (1/2/3/4/5/6/7/8/9):";
}
//-------------------------------------//
void music()
{
#define q1 262
#define q2 294
#define q3 330
#define q4 349
#define q5 392
#define q6 440
#define q7 494
#define c1 523
#define c2 578
#define c3 659
#define c4 698
#define c5 784
#define c6 880
#define c7 988
#define d1 1046
#define d2 1175
#define d3 1318
#define d4 1480
#define d5 1568
#define d6 1760
#define d7 1976
#define e1 2092
#define e2 2350
#define e3 2636
#define e4 2960
#define e5 3136
#define e6 3560
#define e7 3952
int pai = 400, ban = 200;
int ting = 200;
Beep(c3, ban);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Sleep(ting);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Sleep(ting);
Beep(c5, ban);
Beep(c6, ban);
Beep(d1, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c3, ban);
Sleep(ting);
Beep(c3, ban);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Sleep(ting);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Sleep(ting);
Beep(c5, ban);
Beep(c6, ban);
Beep(d3, ban);
Beep(d1, ban);
Beep(d2, ban);
Beep(c6, ban);
Sleep(ting);
Beep(c3, ban);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Sleep(ting);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Sleep(ting);
Beep(c5, ban);
Beep(c6, ban);
Beep(d1, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c3, ban);
Beep(c5, ban);
Beep(c1, ban);
Beep(c2, ban);
Beep(c3, pai);
Beep(d1, pai);
Beep(c6, pai);
Beep(d3, pai);
Beep(d2, ban);
Beep(d3, ban >> 1);
Beep(d2, ban >> 1);
Beep(d1, ban);
Beep(d2, ban);
Beep(c6, pai);
Sleep(ting);
Sleep(ting);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, ban >> 1);
Beep(d1, ban >> 1);
Beep(d2, ban >> 1);
Beep(d3, ban >> 1);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, ban);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, ban >> 1);
Beep(d1, ban >> 1);
Beep(d2, ban >> 1);
Beep(d3, ban >> 1);
Beep(c6, pai);
Beep(c6, ban);
Beep(d4, ban);
Beep(d4, ban);
Beep(d3, ban);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, ban >> 1);
Beep(d1, ban >> 1);
Beep(d2, ban >> 1);
Beep(d3, ban >> 1);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, ban);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, pai);
Beep(c6, ban >> 1);
Beep(d1, ban >> 1);
Beep(d2, ban >> 1);
Beep(d3, ban >> 1);
Beep(d6, ban * 3);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c6, pai);
Sleep(ting * 3);
Beep(c6, ban);
Beep(c6, ban);
Beep(c5, ban >> 1);
Beep(c5, ban / 2 * 3);
Beep(c6, ban);
Beep(c5, ban);
Beep(c3, ban);
Beep(c3, ban);
Beep(c5, ban >> 1);
Beep(c3, ban / 2 * 3);
Sleep(ting);
Sleep(ting);
Sleep(ting);
Sleep(ting);
Sleep(ting);
Beep(c6, ban);
Beep(c6, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c7, ban);
Beep(d1, pai);
Beep(c7, ban * 2);
Beep(c6, ban);
Beep(c7, ban >> 1);
Beep(c6, ban >> 1);
Beep(c5, pai);
Sleep(ting); Sleep(ting); Sleep(ting);
Beep(c6, ban);
Beep(c6, ban);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban >> 1);
Beep(c5, ban / 2 * 3);
Beep(c3, ban);
Beep(c3, ban);
Beep(c5, ban >> 1);
Beep(c3, ban >> 1 * 3);
Sleep(ting);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Beep(c6, pai / 4);
Beep(c7, ban >> 1);
Beep(d1, pai);
Beep(d2, pai);
Beep(c6, ban);
Beep(c3, ban);
Beep(c3, ban);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Beep(d3, ban);
Beep(d2, pai);
Sleep(ting);
Beep(c6, ban);
Sleep(ting);
Beep(c6, ban);
Beep(c6, ban);
Beep(d3, ban);
Beep(d2, pai);
Sleep(ting); Sleep(ting); Sleep(ting);
Beep(d2, ban);
Beep(d2, ban);
Beep(d1, ban);
Beep(d2, ban);
Beep(d1, ban >> 1);
Beep(c6, ban / 2 * 3);
Beep(c5, ban * 2);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Beep(c6, ban);
Beep(c3, ban);
Beep(c3, ban);
Beep(c5, ban);
Beep(c5, ban);
Beep(c6, ban);
Sleep(ting);
Beep(d3, ban);
Beep(d2, pai);
Sleep(ting);
Beep(c6, ban);
Sleep(ting);
Beep(c6, ban);
Beep(c6, ban);
Beep(d3, ban);
Beep(d2, pai);
Sleep(ting); Sleep(ting); Slee
评论0