Welcome umair125,
We are willing to help you. Please read the rules at daniweb.
1.
Title of post must be a short description of your question.
---- Do not use "urgent help plz read".
2.
How to use bb code tag?
A guideline to use message editor.
3.
Homework rule.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
Store and Movie are concepts, rent a movie is the action , now give it a start.
ithelp
Nearly a Posting Maven
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
>what should i do first plz help me
Begin creating one of the classes, no matter which one you start with.
Do you know how a class skeleton looks like?
If no, then I would like to suggest you to read your text book first.
Otherwise, give it a shot and post what you've come up with.
tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
Create Movie, MovieCollection,Customer, RentRegister classes.
Movie class represents a single record of movie.
class Movie {
string title;
string .....
public :
constructors
setter/getter methods
};
MovieCollection is a list of Movie object - which include methods like
AddMovie, RemoveMovie, List, etc.
Customer class has fields like - name,address, phone etc.
RentRegister is a list of Rent record and it might includes:
class RentRegister {
Customer *customer;
Movie *movie;
string date;
.....
public :
Issue();
Remove();
Return();
......
}
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
shadwickman is right -- we are not here to write programs for people but to help them write their own programs. You will not learn anything if all you do is copy someone else's work.
The first thing you need to do is sit down with pencil & paper and write down all the things your program needs to do. Then start writing a program that accomplishes that list, coding one small part at a time.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
And... what's the point of having more than one thread about the same thing?
http://www.daniweb.com/forums/post911481.html
If your problem is so urgent, then you better spend your time to create your program, instead of double posting.
tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343