Solved

how can I compile two .cpp files and a main file in Dev C++.Also,exam help please

Posted on 2009-05-06
1
438 Views
Last Modified: 2013-12-14
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
http://media.pearsoncmg.com/ph/esm/deitel/CppHTP6e/examples/ 
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.
0
Comment
Question by:aditya86b
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 39

Accepted Solution

by:
itsmeandnobodyelse earned 500 total points
ID: 24324046
>>>> but my Date.cpp is throwing many errors.
Can you post the errors?

It probably is only some include paths missing. It is correct to put all these sources into one folder and one project. The project file normally is in the same folder as the sources.


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question