Write a constructor for a movie, C/C++ Programming

Suppose we use Lists to represent a movie which has a title, cast and year. For example, the following list represents the movie, "Die Hardly", with the cast "Bruce Willing" and "Tony White" released in 1980.

((( Die Hardly) 1980 ((Brue Willis) (Tony White))))

(a) Write a constructor for a movie and procedures that return title, cast and year of release.

(b) Write a procedure called (add-movie m ml) that allows the addition of a movie, m, to a simple list of movies, ml.

(c) Write a procedure called (find-movie t ml) to find a movie with a given title, t, within a list of movies, ml.

(d) Write a procedure called (delete-movie t ml) to delete a movie with a given title, t, from a list of movies, ml.

(e) Write a procedure called (list-movies a ml) that returns a list of all movies by an actor, a, from a list of movies, ml, containing several actors.

 

Posted Date: 3/25/2013 1:05:02 AM | Location : United States







Related Discussions:- Write a constructor for a movie, Assignment Help, Ask Question on Write a constructor for a movie, Get Answer, Expert's Help, Write a constructor for a movie Discussions

Write discussion on Write a constructor for a movie
Your posts are moderated
Related Questions
For this program you will add and test 2 new member functions to the IntSLList class posted on the website. The two member functions are: insertByPosn(int el, int pos) Assuming t

What is the difference among const char *myPointer and char *const myPointer?  A: Const char *myPointer is a non constant pointer to constant data; whereas char *const myPointer

Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.

reocord of a student and a function ctotal to calculate the marks of any three subject by using ctotal() function

Develop a function to calculate sum of n even integers starting from a given even integer

A: A reference has to always refer to some object and, so, must always be initialized; pointers do not have such limits. A pointer may be reassigned to point to distinct objects wh

How can one make it so keys pressed through users are not echoed on the screen? A: It is not a standard C++ feature. C++ doesn't even need your system to have a keyboard or a sc

Returning References from Functions Just as in passing the parameters by reference, returning a reference also doesn't return back a copy of the variable , instead an alias is

padovan string program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : package test.padovanstring; public class PadovanString {     publ

Aim: To implement a program to display a rectangle, circle and triangle. Code:                       class shape {             public:                         vir