473,503 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

1 New Member
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 1147
sicarie
4,677 Recognized Expert Moderator Specialist
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
3355
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
276
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
1860
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
2588
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
1533
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
1407
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
1373
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
1704
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
1735
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...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5598
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.