472,951 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

why we build a library in c++? how to use that library?

Hi all,

i have build a library in c++.
so, hw to use the function of that.
is thr any need to give the path of header file?
if yes why?
since we can do it without building the library?
Please help me out........

thanks,
Ashutosh
Aug 24 '07 #1
1 1131
sicarie
4,677 Expert Mod 4TB
Hi all,

i have build a library in c++.
so, hw to use the function of that.
is thr any need to give the path of header file?
if yes why?
since we can do it without building the library?
Please help me out........

thanks,
Ashutosh
You don't need to specify the path if the folder in which the library resides in is in your Classpath, because that is the list of places the computer will automatically check. If you create a library, and it exists in your user directory and your user directory is not in your classpath, then you do need to specify the location.
Aug 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Koen | last post by:
Hi! I have a question about building and then using libraries containing C++ code. Let's say I have some C++ code and a .cpp file with 1 function that uses some other C++ code / classes...
0
by: Lee Gillie | last post by:
We have systems built upon shared libraries, which are maintained by a group of programmers. We install these to the GAC on production servers. For saftey, when a programmer uses one of these...
5
by: PengYu.UT | last post by:
Hi, I know I can use "export" to compile library from the source code using templates. But I don't exactly know how to do it. Would you please give me some hint? Best wishes, Peng
4
by: s.subbarayan | last post by:
Dear all, How different is a header file from a library file in C?Under what circumstance u go for library and under what circumstance u go for header?Afaik,both have some declarations which can...
3
by: Chuck Conlow | last post by:
Greetings. I'm using the Personal (I think that's what it's called) edition of VS C# and I want to build a .dll, which is not an option presented in the IDE. I *think* I can build one from the...
2
by: babyx | last post by:
The release build class library can only work with msvcr71d.dll and msvcp71d.dll exist. How to make this class library work on any machine without using the debug dlls? What are the project...
2
by: bluesky | last post by:
Hi All, I am new to javascript and intend to build a custom library. After saving independent files which contain separate functions, how does one build the library? Any help is a great help!!...
6
by: ivan.leben | last post by:
Hi! I know this question is more suitable for gnu.utils group but im posting here, since that group looks almost dead (last post 1 May with no reply yet) and I need the answer much faster. I...
1
by: =?gb2312?B?wfXquw==?= | last post by:
Hi, folks, I've googled for the forum focusing on how to write the makefile, nothing found. So I'd like to ask you guys do me a favor. I am building a static library under Msys and MinGW, I've...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.