C Date with bonus question Workshop 4 OOP244

Feb 3rd, 2012
Studypool Tutor
Continental School of Beauty Culture - West Seneca
Price: $30 USD

Tutor description

Design and code a class named Date that holds information about a date in a calendar. Place your class definition in a header file named Date.h and your function definitions in an implementation file named Date.cpp. Include in your coding all of the statements necessary for your code to compile under a standard C++ compiler. The class Date has the following four member variables: • A null-terminated C-style string holding the name of the person with whom the date is booked. You may assume that the string is no larger than 30 characters, excluding the null terminator • Year of the date. • Month of the date. • Day of the date. Include two constructors in your definition: a no-argument constructor that sets the object to a safe empty state and a four-argument constructor that receives the address of the C-style string containing the name, year, month, and the year of the date. Note that you must check the validity of users’ input. If no arguments are provided, or validation fails, the objec

Review from student

Studypool Student
" Very Satisfied. "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1820 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors