本人小白,现在大四要求做毕业设计,我想做一个单机版的员工管理系统,实现的功能就是存储员工档案,考勤记录,
计算工资,打印报表。现在不知道数据库该怎么选择,因为都不懂,然后编程软件,编译语言也没选好,很茫然,希望大神们能给些指导
数据库就选mysql吧,编程语言擅长哪个选那个呗
你这都不懂,,怎么给你指导呢,,
应该找代理毕业设计的人去。整个单板系统涉及的东西太丰富了,这里版面写都写不下。。
#ifndef _LOADING_H_
#define _LOADING_H_
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<windows.h>
using namespace std;
void gotoxy(int x,int y);//将光标移动到第y行,第x列
void HideCursor();//隐藏光标
void MFC(void);
void MFC(void) //十分简单的程序界面框架
{
gotoxy(0,4);
cout << setw(40) << "╔══════════════════════════════════════╗" << endl;
cout << setw(40) << "║ ║" << endl;
cout << setw(40) << "║ ║" << endl;
cout << setw(40) << "║ ║" << endl;
cout << setw(40) << "║ ║" << endl;
cout << setw(40) << "║ ║" << endl;
cout << setw(40) << "╚══════════════════════════════════════╝" << endl;
gotoxy(20,6);
cout << "→增加学生操作";
gotoxy(20,7);
cout << " 删除学生操作";
gotoxy(20,8);
cout << " 查询学生操作";
gotoxy(20,9);
cout << " 增加教师操作";
gotoxy(20,10);
cout << " 删除教师操作";
gotoxy(20,11);
cout << " 查询教师操作";
gotoxy(20,12);
cout << " 输出全部人员信息";
gotoxy(20,13);
cout << " 退出程序";
gotoxy(46,8); // 界面操作提示
printf("W--向上");
gotoxy(46,9);
printf("S--向下");
gotoxy(46,10);
printf("J--选择");
}
void LOADing(void)
{
int i=16,j=8,x=0,y=0,m = 1,n=0;
HideCursor();
printf("╔══════════════════════════════════════╗");
printf("║ 欢迎使用XXXXXX程序 ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ ║");
printf("║ 制作人:淺丶ダ MJU 13计算机-网络与信息安全 ║");
printf("║ ║");
printf("║ ║");
printf("╚══════════════════════════════════════╝");
gotoxy(30,8);
printf("程序正在载入");
while(1)
{
Sleep(200);
if(m==1)
{gotoxy(42,8);
printf(". ");}
else if(m==2)
{gotoxy(42,8);
printf(".. ");}
else if(m==3)
{gotoxy(42,8);
printf("... ");}
else if(m==4)
{gotoxy(42,8);
printf(".... ");}
else if(m==5)
{gotoxy(42,8);
printf("..... ");}
else if(m==6)
{gotoxy(42,8);
printf("......");}
else if(m>6&&x<3)
{
m=1;
x++;
}
else if(x==3)
break;
HideCursor();
m++;
}
HideCursor();
system("cls");
//getchar();
}
void HideCursor()//隐藏光标
{
CONSOLE_CURSOR_INFO cursor_info = {1, 0}; //为零时光标不可见,cursor 控制台,info信息
SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &cursor_info);//设置控制台光标大小
}
void gotoxy(int x,int y) //将光标移动到坐标为(x,y)的地方
{
CONSOLE_SCREEN_BUFFER_INFO csbiInfo; //保存缓冲区信息
HANDLE hConsoleOut; //创建窗口句柄
hConsoleOut = GetStdHandle(STD_OUTPUT_HANDLE); //获得窗口句柄,或者说实例化句柄
GetConsoleScreenBufferInfo(hConsoleOut,&csbiInfo);//获得缓冲区信息
csbiInfo.dwCursorPosition.X = x; //当前光标列位置
csbiInfo.dwCursorPosition.Y = y; //当前光标行位置
SetConsoleCursorPosition(hConsoleOut,csbiInfo.dwCursorPosition); //API中定位光标位置的函数
}
#endif;
#endif _TEACGER_H_
#define _TEACGER_H_
#include<iostream>
#include<string>
#include<stdlib.h>
#include<time.h>
#include<windows.h>
#include<conio.h>
void (teacher &LS)
{
char choose;
int y = 8;
gotoxy(20,8);
cout <<"→增加教师信息";
gotoxy(20,9);
cout <<" 删除教师信息";
gotoxy(20,10);
cout <<" 查询教师信息";
gotoxy(20,11);
cout <<" 退出程序";
do{
choose = getch();
switch(choose){
case 'W':
case 'w':
gotoxy(20,y);
printf(" ");
y--;
if(y<8)
y=11;
gotoxy(20,y);
printf("→");
break;
case 'S':
case 's':
gotoxy(20,y);
printf(" ");
y++;
if(y>11)
y=8;
gotoxy(20,y);
printf("→");
break;
case 'J':
case 'j':
system("cls");
if(y == 8)
{
system("cls");
cout << "请输入教师信息!" <<endl;
cout << "教师编号:";
cin >> LS.Tnumber;
cout << "名字:" << endl;
cin >> LS.Name;
cout << "年龄:" <<endl;
cin >> LS.Age;
cout << "性别:" <<endl;
cin >> LS.Gender;
cout << "部门:" <<endl;
cin >> LS.department[0];
cout << "职称:" <<endl;
cin >> LS.position[0];
}
else if(y == 9)
B();
else if(y == 10)
choose = '#';
gotoxy(20,9);
system("pause");
system("cls");
y=8;
break;
default:
continue;
break;
}
}
while(choose != '#');
}
#endif;