How Software Gets Done  


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
Verification
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
Fix bug in phys. mem. registry retrieval
By Sting-Ray on May 10
Max Bid: $20


High Impact Professional Website Design
By PCU on May 10
Max Bid: $450


questions, varied topics.
By jc0000 on May 10
Max Bid: $12


UML
By Anil Upadhyay on May 10
Max Bid: Open to fair suggestions


PROLOG HOMEWORK
By Anil Upadhyay on May 10
Max Bid: Open to fair suggestions


LISP HOMEWORK
By Anil Upadhyay on May 10
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site

Open Work Categories.
Database 
(133 open)
   Access 
(60 open)
   MySQL 
(74 open)
   Oracle 
(9 open)
   SQL Server 
(53 open)
   Other DB 
(13 open)
Documentation / Tech Writing 
(36 open)
Data Entry 
(20 open)
Game Development 
(17 open)
Graphics / Art / Music 
(41 open)
   Graphics 
(46 open)
     3d Animation 
(13 open)
   Art (Misc.) 
(17 open)
   Music 
(6 open)
   3d Modeling 
(4 open)
Language Specific 
(98 open)
   ASP 
(68 open)
   C# 
(38 open)
   C++ / C 
(105 open)
   Cocoa / Obj-C 
(1 open)
   Cold Fusion 
(4 open)
   Delphi 
(27 open)
   Java 
(54 open)
   Perl 
(33 open)
   PHP 
(86 open)
   XML/XSL 
(23 open)
   Visual Basic 
(132 open)
   Visual Basic .Net 
(66 open)
   Other 
(46 open)
Misc 
(38 open)
   CAD 
(3 open)
MultiMedia 
(31 open)
Network 
(41 open)
   Network Design 
(7 open)
   Network Implementation 
(12 open)
Platforms 
(63 open)
   Windows 
(148 open)
     MS Exchange 
(3 open)
     MS Office 
(8 open)
     Other 
(8 open)
   Internet Browser 
(38 open)
   Linux 
(50 open)
   UNIX 
(22 open)
   Hand Held/PDA Programming 
(10 open)
Requirements 
(10 open)
Security 
(33 open)
Testing / Quality Assurance 
(16 open)
Web 
(144 open)
   Page Design 
(71 open)
   Flash 
(44 open)
   Web Services 
(68 open)
   Web (Other) 
(76 open)
Training 
(9 open)
   Computer Based 
(11 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Class Date1
Bid Request Id: 4985
Bookmark in my 'To Do' list
Posted by: Apollo7227 (4 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Posted: Nov 15, 2001
12:38:23 PM EDT
Bidding Closes: Nov 29, 2001
12:40:11 PM EDT
Viewed (by coders): 233 times
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at May 10, 2003 8:52:12 PM EDT)

Description:
This programming assignment is an application of public inheritance in C++. Create a workspace folder called 'ThisDay.' Include a C++ source code file called 'ThisDay.cpp.' Define the class Date to create calendar date objects. The class must be the following. class Date { int day, month, year; // to store the three components of a date public: Date( ) // initializes data members using the computer clock's date Date(int, int, int); // initializes data members to the parameter values void print( ostream &); // inserts mm/dd/yyyy on the ostream object protected: int getDate():// returns day int getmonth( ); // returns month int getyear( ); // returns year }; Add definitions for the member functions in the above class definition. Declare a derived class of the class Date called LongDate using public inheritance. The derived class must have only two constructors and a void member function 'printLong.' Also the derived class must not have its own data members. The first constructor function of the derived class has no parameter. It must invoke the base class constructor with no parameter. The second constructor function must have three parameters. It must invoke the base class constructor with three parameters. The member function 'printlong' must insert on the ostream object passed by reference the current objects's date in the long format. For example, the long format of 11/01/2001 is November 1, 2001. Your int main() function should be the following. int main() { int day, month, year; LongDate d; cout <<"Today's date: “; d.print(cout); cout << endl; cout << 'Today's date in long form: “; d.printLong(cout); cout << endl; cout << "Enter your favourite date (mm dd yyyy): “; cin >> month >> day >> year; LongDate dd(day,month, year); cout << "Your favorite date: “; dd.print(cout); cout << endl; cout << "Your favourite date in long form: “; dd.printLong(cout); cout << endl; return 0; } I could not fit it all on the description so i put the rest on the deliverables section

Deliverables:
How to get the date from the computer's clock? Be the body of the default constructor in class Date. The following statements will do it. It must Different sample runs display the following: 1) Today's date: 11/04/2001 (print member function must pad with 'O' for a single digit like 4) Today's date in long form: November 4, 2001 Enter your favorite date ( mm dd yyyy): 1 2 2001 Your favorite date: 01/02/2001 Your favorite date in long form: January 2, 2001 2) Today's date: 11/04/2001 Today's date in long form: November 4, 2001 Enter your favorite date ( mm dd yyyy): 3 1 2000 Your favorite date is 03/01/2000 Your favorite date is March 1, 2000 Run your program with input 1 2 2001 and repeat it again with input 3 1 2000. Turn in a hard copy of 'ThisDate.cpp' on the due date. Please include your name, user name, and path name to the project folder on the hard copy. struct tm *ptr; // pointer of type struct tm // which holds calendar time components time_t t = time( 0 ); // determine the current calendar time // which is assigned to timeptr ptr = localtime( &t ); // convert the current calendar time //pointed to by timeptr into //broken down time and assign it to ptr day = ptr->tm,_mday; // broken down day of month month = 1 + ptr->tm_mon; // broken down month since January year = ptr->tm_year+ 1900; // broken down year since 1900 You must include the following include directive. #include<ctime> #include<iomanip> #include<iostream> Fragment of code to display a single digit padded with zero(es). using std::setw; using std::setfill; int x = 2; cout << setfill('O') << setw(2) << x; // displays 02 x = 5; cout <<setfill ('O')<< setw(3) << x; // displays 005 cout << x; // displays 3. Need to use the manipulator whenever padding is required Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.

Special Conditions / Other:
DUE 11/19/01


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Sammy Leong
(78 ratings)
in Scarborough, Ontario
Canada
Bid id: 52,605
 
$20 (USD) Nov 15, 2001
3:41:01 PM EDT
 10
(Excellent)
   
Can be done in less than an hour.
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.98 on 92 jobs 
Securenext
Rated a 9.98 on 97 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Codman
Rated a 9.97 on 138 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.97 on 170 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
RNA
Rated a 9.93 on 35 jobs 
hernest
Rated a 10 on 109 jobs 
markesh
Rated a 10 on 21 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.