đoạn code này bị lỗi chỗ string nhưng em không sữa được,nhờ mấy anh chị sữa giúp

[code]#include <iostream.h>
#include <string.h>
//using namespace std;
#include <stdio.h>
#include <conio.h>

//enum EEmployeeType
//{
// EMPLOYEE,
// MANAGER
//};


// lop chung People
class People
{
private:
string name;
int numDayOff;
int type;
public:

// liet ke toan bo phuong thuc khoi tao get/set
People(string name, int dayoff, int type);
string getName() { return name; }
void setName(string name) { this->name = name; }

int getNumDayOff() { return numDayOff; }
void setNumDayOff(int ndays) { numDayOff = ndays; }

int getType() { return type; }
void setType(int type) { this->type = type; }

virtual bool thuong() = 0;
};

// phuong thuc khoi tao
People::People(string name, int dayoff, int type)
{
this->name = name;
numDayOff = dayoff;
this->type = type;
}

// lop NhanVan ke thua tu People
class Employee: public People
{
public:
Employee(string name, int dayoff);
bool thuong() { return getNumDayOff() < 10; } // true neu so ngay nghi < 10
};

Employee::Employee(string name, int dayoff)
:People(name, dayoff, 1)
{

}



// lop TruongPhong ke thua tu People
class Manager: public People
{
public:
Manager(string name, int dayoff);
bool thuong() { return getNumDayOff() < 5; } // true neu so ngay nghi < 5
};

Manager::Manager(string name, int dayoff)
:People(name, dayoff, 0)
{

}

int main()
{
int nEmps;
cout << "So nhan vien: ";
cin >> nEmps;

People** peoples = new People*[nEmps];
int type;
string name;
int dayoff;

for(int i = 0; i < nEmps; i++) {
cout << "Truong phong(0) / Nhan vien(1): ";
cin >> type;
fflush(stdin);
cout << "Ten: ";
getline(cin, name);
fflush(stdin);
cout << "So ngay nghi: ";
cin >> dayoff;

switch(type)
{
case 1:
peoples[i] = new Employee(name, dayoff);
break;
case 0:
peoples[i] = new Manager(name, dayoff);
break;
default:
cout << "Nhan vien khong thich hop\n";
break;
}
}

cout << "Nguoi duoc thuong:\n";
for(int i = 0; i < nEmps; i++) {
if(peoples[i]->thuong()) {
cout << "Ten: " << peoples[i]->getName() << " \nSo ngay nghi: " << peoples[i]->getNumDayOff() << endl;
}
}

int numDaysOff = 0;
for(int i = 0; i < nEmps; i++) {
if(peoples[i]->getType() == 1) {
numDaysOff += peoples[i]->getNumDayOff();
}
}

cout << "Tong so ngay nghi: " << numDaysOff << endl;
for(int i = 0; i < nEmps; i++) delete peoples[i];
delete[] peoples;
fflush(stdin);
getch();
return 0;
}[code]