The website had updated, please click visit the new version
ep4 Other systems 2590000 source codes to download - www.pudn.com
 File: ep4Download  >Add to favorates  [Vote: very good!  5  4  3  2  1 Vote: very bad!]
  Directory: Other systems
  Dev tools: Visual C++
  File size: 4 KB
  Update: 2016-06-01
  Downloads: 0
  Uploader: Áõ¾§¾§
 Describe: 1. Define a class, DATE, including year, month and day and satisfy the demands as below: 1.1 Search keywords tm in the MSDN or internet to know how to get current date, and see also example on page 382 in the book or 405 in the E-book. 1.2 Define a derived class of DATE, BIRTHDAY, to save someone s birthday. The programmer calls the member function AGE to get someone s age. 1.3 So we can use like as follows in main: void main() { BIRTHDAY Zhang(1988, 4, 15) cout << Zhang.AGE() << endl // Now Zhang s age is 28 } 2. Define multiple classes(at least two classes) to pass data among them. For example£ºyou may define a class, such as InputData£¬to enter some data. And define a class ,such as OutputData£¬to print some data. Note: 2.1 Define any member data and member functions according to your program 2.2 DON T define global variable or object. 2.3 Further reflection: How can we deal with
File list(Click to check if it's the file you need, and recomment it at the bottom):
  ep4-1120141884-Áõ¾§¾§\ep4-2˼¿¼Ìâ.txt
  .....................\exper4-1.cpp
  .....................\exper4-2.cpp
  .....................\exper4-3.cpp
  .....................\exper4-4.cpp
 Search in more than 2596327 codes/documents: