I am trying to execute figure 10.11 - 10.14 in deitel, c++ how to program..
This example is about composition of a member object in a different class.
How can I compile and link the date.cpp(date.h), Employee.cpp(employee.h) and a main file.
I placed all the above files in a project and trying to hit Execute--> compile option in Dev c++......
I dont know what went wrong but my Date.cpp is throwing many errors.
The link for code is below
hit this link and download chapter 10 code.
Now open fig 10_10_14.......
Also I have my c++ final tomorrow I dont really understand why this language is such complex.I can understand the program but I cant write one on my own.......
can somebody provide some sample tests and solutions on oops.