![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2009
Posts: 3
OS: xp
|
need help to write this program
Write a c++ program which consists of two classes:
1. Date 2. Student First class Date should contain three data members: Day Month Year Date also contain following member functions: Setter function Getter function showdate() Now second class Student should have following three data members: ST_ID Name Ad_date Where ID and Name are char pointer while Ad_date (Date of Admission) is of type Date. Student class should contain two member functions: Display() setdate() Now in main function create an object of Class Student and call the member functions with it. -------------------------------------------------------------------------- Sample output: Name: Ali ID: BC020400000 Admission Date: 12-08-2008 |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,853
OS: Vista, various linux distros
|
Re: need help to write this program
Give it a go before posting here. Or post your code if you have done so already. We don't do homework but we will help if you try to do this yourself and encounter a problem. Until then: CProgramming.com is where you want to look, it doesn't take more than a few days of their tutorials to learn how to do this.
Cheers, Jamey |
|
|
|
![]() |
| Thread Tools | |
|
|