?
Solved

linking multiple files in C++

Posted on 2000-02-17
3
Medium Priority
?
202 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 40 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

770 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