MS visual studio 2005
Main Topics
Browse All TopicsI am new to C++, and I am building a c++ project which will call methods inside another c++ project, how do I organize my project and how to inclue other project?(in java, I know to include the jar file with building of class path)
thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Easiest will be to create multiple projects (assuming Visual Studio).
1. Create a library for the project in which you will be calling the functions from. This can be the first project.
2. The second project can then link to the library that is created as a result of the first project.
Other options:
You can create DLL for the first project.
In case you are in Unix/Linux environment, you can create a library (static or dynamic) for the set of functions you want to call in the second project.
Business Accounts
Answer for Membership
by: Infinity08Posted on 2009-06-30 at 13:35:13ID: 24749303
Ideally, your other project would be a library, in which case, you can simply link to it to use the methods implemented in it.
Organizing a project depends on its size, but usually, you want to split up the code in separate modules. A module corresponds to a .cpp file, and contains everything related to a specific part of the code (often modelled as a class).
For larger projects, it might be useful to group related modules in separate directories.
What compiler are you using ? Are you using any IDE ? Which one ?