this code works just in case anyone has this assignment. i figured it out yesterday. please help me out on my other assignment.. you should find it on todays date.
//this function takes a blank array and fills that array up with movie data
void load_movies(Movie blank_array[])
{
//step 1 : stream variable
ifstream data_store;
//step 2 : open file
data_store.open("movie_database.txt");
//step 3: processing the file
if(!data_store)
{
cout << "movie_database.txt is not in this directory" << endl;
exit(0); // end the program no matter where you are
}