Sorry, it's forum policy not to directly write your assignment for you without seeing that you have tried yourself. However, here are some pointers:
A class lets you create an object. An object can be thought of as something that encompasses multiple pieces of data. For example, suppose you have a class called bank_account. The bank_account class consist of variables such as String your_name and float your_money to store your name and how much money you have.
You can now declare multiple instances of this bank_account class. You can create account1 and account2. Each of these bank_account objects consists of both variables, someone's name and how much money they have.
This now gives you access to variables by using account1.your_name or account2.your_money for example.
For more information about classes visit [thread]1739[/thread]
Good luck!!
cscgal
The Queen of DaniWeb
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
Try to do as much as you can, and post code here. Someone will try to help you. You asking someone to write a whole program for you for $25, is not enough, no matter how compelling your story might be. If you're really desperate, try going to http://www.rentacoder.com/
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
I understand what you're saying. However, it's forum policy not to do homework questions for people. For more information, check out this thread:
[thread]557[/thread]
If you post some code or talk to us about it, we'll be more than glad to help you here. But we won't do the assignment for you. However, you're welcome to post in our Service Requests forum ( http://www.daniweb.com/techtalkforums/forum42.html ). Perhaps there you could find a member who is willing to do this for you - that is between you and the member.
cscgal
The Queen of DaniWeb
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230