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
433 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

839 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