Last edited on
Ok Thanks for your help :)
well, variable input is of type string
but the return from "cin >> x" is a reference to an input stream
line 12 reads a value from the input stream object cin, into the variable dvds[size].title, and returns a reference to the input stream object cin
In line 12, you're trying to assign this (input stream object) to a string - there's no operator= defined that would do that