Three problems for c++

homeworkhelp325
movie.cpp

// Movie.cpp #include "Movie.h" // include Movie class definition #include <string> #include <sstream> using namespace std; Movie::Movie() { title = studio = ""; boxOffice[WORLD] = boxOffice[US] = boxOffice[NON_US] = rank[WORLD] = rank[US] = rank[NON_US] = releaseYear = 0; } Movie::Movie(string temp) { istringstream iS(temp); getline(iS, title, '\t'); getline(iS, studio, '\t'); iS >> releaseYear >> boxOffice[WORLD] >> boxOffice[US] >> boxOffice[NON_US] >> rank[WORLD] >> rank[US] >> rank[NON_US]; } string Movie::toString() { ostringstream oS; oS << "\n\n Movie Information\n===================================================" << "\n Movie Title:\t" << title << " (" << releaseYear << ")" << "\n US Rank & Box Office:\t" << rank[US] << "\t$" << boxOffice[US] << "\nNon-US Rank & Box Office:\t" << rank[NON_US] << "\t$" << boxOffice[NON_US] << "\n World Rank & Box Office:\t" << rank[WORLD] << "\t$" << boxOffice[WORLD] << "\n"; return oS.str(); } string Movie::getTitle() {return title;} string Movie::getStudio() {return studio;} long long Movie::getWorldBoxOffice() {return boxOffice[WORLD];} long long Movie::getUSBoxOffice() {return boxOffice[US];} long long Movie::getNonUSBoxOffice() {return boxOffice[NON_US];} int Movie::getWorldRank() {return rank[WORLD];} int Movie::getUSRank() {return rank[US];} int Movie::getNonUSRank() {return rank[NON_US];} int Movie::getReleaseYear() {return releaseYear;}