鱼C论坛

 找回密码
 立即注册
查看: 2180|回复: 1

[原创] 帮我看看我写的代码吧

[复制链接]
发表于 2013-6-19 20:30:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
#include "stdafx.h"
#include <cstdlib>
#include "iostream"
#include "date.h"
#include "person.h"
#include "student.h"
#include "teacher.h"
#include "undergraduate.h"
#include "graduate.h"
#include "ta.h"
#include "undergraduateManager.h"
using namespace std;

int main(int argc, char *argv[])
{   int choiceN;
UndergraduateManager unMan;   

    cout<<"********************************************************"<<endl;
    cout<<"*|*|                                                |*|*"<<endl;   
    cout<<"*|*|              欢迎您使用学生管理系统            |*|*"<<endl;
    cout<<"*|*|                                                |*|*"<<endl;   
    cout<<"********************************************************"<<endl;
    do{
        cout << "<---------------------------------------------------->" << endl;                                                                  
        cout << " \n \t\t 1:本科生管理 ";
        cout << " \n \t\t 2:研究生管理  ";
        cout << " \n \t\t 3.助教博士生管理 ";
        cout << " \n \t\t 0:离开    ";
        cout << endl;        
        cout << "<---------------------------------------------------->" << endl;
        cout << "请选择:" << endl;
        cin >> choiceN;
        switch(choiceN)
        {
        case 1:
           unMan.dataManage();
           break;
        case 2:
          //
          break;
        case 3:
          //
          break;
        default:
          break;
        }
    }while(choiceN!=0);
    cout<<" **********************************************************"<<endl;
    cout<<"*|*|               感谢使用学生管理系统                  |*|*"<<endl;
    cout<<" **********************************************************\a"<<endl;
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2013-6-19 22:24:46 | 显示全部楼层
强烈支持楼主ing……
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-5-5 17:59

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表