Movie database Help

Hi everybody, this is my first post to the community and I need your help. I have a final project that I am working on for my C++ programming class. The functional particulars are:

Program must be command-line based and interactive, allowing the user to control its operation by entering commands. For example, a user may type “add” and the program will respond by asking for data to add. Typing “exit” may end the program.

Program must manage some type of record- or object-based data. In other words, it must manage multiple instances of the same type of data. So essentially, a collection of objects, each of which contains a collection of objects.

Ability to accept new data entered by the user.

Ability to search for specific, previously entered data.

Ability to save all data to a file.

Ability to retrieve previously stored data from the file.

Ability to display a list of all data items and their sub-items.

Maintainability Requirements:

Program must have intelligible comments that adequately describe key parts of the code.

All variables and class names should clearly describe their purpose and use consistent casing. Spelling doesn't’t count, but try your best.

Coding Requirements:

Program must comprise at least five classes.

Program must use inheritance and demonstrate polymorphism.

Program must use at least one loop.

Program must read and write a file.

This assignment is due in Week 9, and worth 30% of your overall grade.

Deliverables

Working object-oriented program meeting the above requirements. You must submit all the source code as well as a compiled executable.

Simple user’s Guide that explains how your program works.

I am looking at the database having these categories: movie name, rating, year, actor(s) name(s), and upcoming releases. I need your help in getting me started and walking me through the fundamentals of writing the program. Your help is greatly appreciated and it will help me learn more about programming.
:confused:

void setName(string);
//Function to set dvdName according
//to the parameters.
//Postcondition: dvdName = name.
string getDvdNameList() const;
//Function to return the name list.
//Postcondition: The value of the nameList is returned.
string getDvdYearList() const;
//Function to return the year of the dvd.
//Postcondition: The value of the dvdYear is returned.
dvdType(string name = "", string year = "");
//constructor
//Sets Name and year according to the parameters.
//The default values of the parameters are empty strings.
//Postcondition: nameList = name; yearList = year
private:
string nameList; //variable to store the first name
string yearList; //variable to store the last name
};
#endif

So what happens when you try to run it? Or compile it? Otherwise we just end up guessing.

A tip for writing your program: It looks like you're trying to write too many things at once. For example, I prefer to implement file I/O near the end of development of a program, and instead use constants. Why? Because I know constants work. It's one less thing to worry about when coding the body of the class.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...