I am having trouble using string variables inside of a class in c++. I have tried using include but that doesn't appear to have any noticeable effect. Here are the contents of the header file the class is declared in:
#include <string.h>
#ifndef STUDENT_H
#define STUDENT_H
class Student
{
private:
    int iStudentAge;
    int iStudentBirthDay;
    int iStudentBirthMonth;
    int iStudentBirthYear;
    string sStudentName;
    string sStudentCourse;
public:
    Student();
    Student(int iValue1, int iValue2, int iValue3, int iValue4, string sValue5, string sValue6);
    void setAge(int iNewValue);
    int getAge();
    void setBirthDay(int iNewValue);
    int getBirthDay();
    void setBirthMonth(int iNewValue);
    int getBirthMonth();
    void setBirthYear(int iNewValue);
    int getBirthYear();
    void setName(string iNewValue);
    string getName();
    void setCourse(string iNewValue);
    string getCourse();
};
#endif // !STUDENT_H
The specific errors I am having are all on the lines that involve strings, except for the include line.
 
     
     
    