I have the following #include in my program which I am trying to change from a console app to a GUI app. I have to code this by hand. The problem is my program can't import the string header. Why is that?
#ifndef CATALOG_H_
#define CATALOG_H_
#include <string>
#include "StudentRepository.h"
#include "Student.h"
using namespace std;
class Catalog{
private:
    StudentRepository *studRepo;
public:
    Catalog(StudentRepository *stre):studRepo(stre){};
    ~Catalog();
    void addNewStudent(string name, int id, int group);
    void removeStudent(string name);
    void editStudent(string,int,int);
    Student seachStudent(string name);
    void printStudents();
          .
          .
          .
};
#endif /* CATALOG_H_ */
ERROR:
Description Resource    Path    Location    Type
Type 'string' could not be resolved Catalog.h   /L_6-8_GUI  line 25 Semantic Error
PS: I use Eclipse with the QT addon.
 
     
    