#ifndef vid
#define vid
#include<cstring>
#include<string>
#include<string.h>
class Video
{
protected:
string title;
int id;
string genre;
string type;
string actor;
bool available;
public :
virtual double rent();
virtual void displayDetails();
};
#endif
I get this error on declaration of all string attributes.
error C2501: 'string' : missing storage-class or type specifiers Please help