Solved

linking multiple files in C++

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now