Solved

linking multiple files in C++

Posted on 2000-02-17
3
201 Views
Last Modified: 2010-04-10
how do creatte project with multiple files and link them in Borland C++?
0
Comment
Question by:vijay35
[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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
WxW earned 10 total points
ID: 2534035
you just add in the IDE the new CPP file . When building , the object code will automatically linked .
0
 
LVL 33

Expert Comment

by:hongjun
ID: 2535026
Just keep all the files that is the .cpp and .h files in the same directory and then compile. BC will then automatically create a project for it.

hongjun
0
 
LVL 6

Expert Comment

by:WxW
ID: 2535473
No , the IDE requires explicitly setting on the CPP files , it won't include all in the directory .
0

Featured Post

Technology Partners: 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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

695 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