|
|
@ -24,8 +24,8 @@ int ghxg(); //
|
|
|
|
int xmxg(); //按姓名修改
|
|
|
|
int xmxg(); //按姓名修改
|
|
|
|
int back();
|
|
|
|
int back();
|
|
|
|
|
|
|
|
|
|
|
|
struct worker wo[100]; //保存所有职工信息
|
|
|
|
struct worker wo[100]; //保存所有职工信息
|
|
|
|
int number=0; //记录总的职工人数
|
|
|
|
int number=0; //记录总的职工人数
|
|
|
|
int main()
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int choose=0;
|
|
|
|
int choose=0;
|
|
|
@ -37,7 +37,6 @@ int main()
|
|
|
|
system("cls"); //清屏
|
|
|
|
system("cls"); //清屏
|
|
|
|
switch(choose)
|
|
|
|
switch(choose)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
case 0: exit(0);back(); break; //退出
|
|
|
|
|
|
|
|
case 1: add();back(); break; //添加职工信息
|
|
|
|
case 1: add();back(); break; //添加职工信息
|
|
|
|
case 2: see();back(); break; //查看职工信息
|
|
|
|
case 2: see();back(); break; //查看职工信息
|
|
|
|
case 3: search();back(); break; //搜索职工信息
|
|
|
|
case 3: search();back(); break; //搜索职工信息
|
|
|
|