First of all, your class has a litle mistake.
the char title;
shoulde be char *title;
this because you know hold a single char.
So, I supose that this maybe fucks it.
Try it out, also do some controlls by adding some few lines like;
cout << title << endl;
just before reading data with
cin >> year;