请各位帮小弟我看看 改改

请各位帮我看看 改改
// 人事管理.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include<iostream.h>
class date
{
public:
date()
{
  year=0000;
mouth=00;
day=00;
}
void shu_ru()
{
int x,y,z;
cout<<"请输入年"<<endl;
cin>>x;
cout<<"请输入月"<<endl;
cin>>y;
cout<<"请输入日"<<endl;
cin>>z;
}
void fu_zhi(int x,int y,int z)
{
  year=x;
mouth=y;
day=z;
}
void shu_chu()
{
cout<<"出生日期"<<year<<" "<<mouth<<" "<<day<<endl;
}

~date();
private:
  int year;
int mouth;
int day;

};

class peopie
{
public:
peopie()
{
num=00000;
sex='m';
ID=000000;
}
void numl();
void sexl();
void IDl();
lu_ru();
fu_zhi();
shu_chu();
~peopie();
private:
int num;
char sex;
long int ID;
};
peopie::numl()
{
int x;
cout<<"请输入编号"<<endl;
  cin>>x;
cout<<endl;
}
peopie::sexl ()
{
int y;
cont<<"请输入性别"<<endl;
cin>>y;
cout<<endl;
}
peopie::IDl ()
{
int z;
cout<<"请输入ID号"<<endl;
cin>>z;
cout<<endl;
}
peopie::fu_zhi (int x,char y,long int z)
{
  num=x;
sex=y;
ID=z;
}
peopie::shu_chu ()
{
cout<<"编号"<<num<<endl<<"性别"<<sex<<endl<<"身份证号"<<endl;
}
void main()
{
  int i=1;
  date b;
  peopie a;
  while(i)
  {
  a.num();
a.sex();
a.ID ();
a.fu_zhi (x,y,z);
b.shu_ru ();
  b.fu_zhi(x,y,z);
a.shu_chu ();
b.shu_chu ();
  }
  retuan 0;
}


------解决方案--------------------
如果楼主的代码是从书上抄的,那么建议楼主把那本书扔掉。
------解决方案--------------------
peopie::shu_chu ()
{
cout<<"编号"<<num<<endl<<"性别"<<sex<<endl<<"身份证号"<<endl;
}
身份证后面少了
------解决方案--------------------
楼主错误太多了,帮你改了一下,不知道是不是你想要的。。
C/C++ code

#include<iostream>
using namespace std;

class date
{
public:
    date()
    {
        year=0000;
        mouth=00;
        day=00;
    }
    void shu_ru()
    {
        int x,y,z;
        cout<<"请输入年"<<endl;
        cin>>x;
        cout<<"请输入月"<<endl;
        cin>>y;
        cout<<"请输入日"<<endl;
        cin>>z;
    }
    void fu_zhi(int x,int y,int z)
    {
        year=x;
        mouth=y;
        day=z;
    }
    void shu_chu()
    {
        cout<<"出生日期"<<year<<" "<<mouth<<" "<<day<<endl;
    }
    
//    ~date();
private:
    int year;
    int mouth;
    int day;
    
};

class peopie
{
public:
    peopie()
    {
        num=00000;
        sex='m';
        ID=000000;
    }
    void numl();
    void sexl();
    void IDl();
    void lu_ru();
    void fu_zhi(int, char, long int);
    void shu_chu();
//    ~peopie();
private:
    int num;
    char sex;
    long int ID;
};
void peopie::numl()
{
    int x;
    cout<<"请输入编号"<<endl;
    cin>>x;
    cout<<endl;
}
void peopie::sexl ()
{
    int y;
    cout<<"请输入性别"<<endl;
    cin>>y;
    cout<<endl;
}
void peopie::IDl ()
{
    int z;
    cout<<"请输入ID号"<<endl;
    cin>>z;
    cout<<endl;
}
void peopie::fu_zhi (int x,char y,long int z)
{
    num=x;
    sex=y;
    ID=z;
}
void peopie::shu_chu ()
{
    cout<<"编号"<<num<<endl<<"性别"<<sex<<endl<<"身份证号"<<endl;
}
int main()
{
    int i=1;
    date b;
    peopie a;
    while(i)
    {
        a.numl();
        a.sexl();
        a.IDl();
        a.fu_zhi (30,'a', 100000);
        b.shu_ru ();
        b.fu_zhi(40,'b',100001);
        a.shu_chu ();
        b.shu_chu ();
    }
    return 0;
}