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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

726 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