linking multiple files in C++

Posted on 2000-02-17
Medium Priority
Last Modified: 2010-04-10
how do creatte project with multiple files and link them in Borland C++?
Question by:vijay35
  • 2

Accepted Solution

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

Expert Comment

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.


Expert Comment

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

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

587 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