943,929 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 365
  • C++ RSS
Jan 27th, 2009
0

Library Questions

Expand Post »
Hi,
I am new to using C and C++ libraries. So my questions might seem to be naive.

1. When installed, will the source files ( .c or .cpp) of a library be placed into some system directory like /usr/local/src/ for other code that will use them?

2. If not, are all the implementations included in the library files and accessible during debug by stepping-into?

3. If the library files are dynamic linked, i.e .so or .dll, can the implementations be accessed during debug?

Thanks in advance!
Last edited by lehe; Jan 27th, 2009 at 7:38 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
lehe is offline Offline
36 posts
since Jul 2008
Jan 27th, 2009
1

Re: Library Questions

Whether or not the source is available for a given library is up to the developer of the library.

If the source files are not included, you can't step into them. (Unless you like to read disassembly.)

If the library is only released as a dll, the same applies.

If you are having problems with a library that was released without source, you are generally not supposed to attempt to debug it.

If you are having a problem with such a library, you confirm that you are using the documented interface and then 'prove' that the function you call does not behave as documented. You then 'present' the evidence to the library supplier and they will usually fix the problem and release an updated library.
Reputation Points: 344
Solved Threads: 116
Practically a Master Poster
Murtan is offline Offline
670 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: insertion operator
Next Thread in C++ Forum Timeline: Bubble sort





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC