(Line 60) I get an error telling me an array cannot be initialized without a parenthesized intializer. What am i doing wrong? can someone please help? Thanks
Line 60: You're trying to initialize an array of 99 objects of type "movie" by assigning it only a single "movie" object. You need an array on right hand side of the assignment operator.
1 2
// Initialize all elements of array `m´
movie m[99] = { movie("", "", "", ""), movie("", "", "", ""), movie("", "", "", ""), /* Repeat up too 99 times */};
or define a "movie" default constructor and define
1 2
// Initialize all elements of array `m´ with default values
movie m[99];