Questions tagged [libraries]

Use this tag for questions about software libraries. This tag is NOT for questions about computer programs used in public lending libraries or other brick-and-mortar libraries. Questions asking us to recommend or find a library are off-topic.

A library is a collection of non-volatile resources used by programs on a computer, often to develop software.

Libraries contain code and data that provide services to independent programs. This encourages the sharing and changing of code and data in a modular fashion, and eases the distribution of the code and data. Library files are not executable programs. They are either static libraries that are merged with an executable when the executable is being compiled and linked, making them "statically linked", or they are dynamic libraries that are loaded by a dynamic linker while the executable is running, making them "dynamically linked". The dynamic linker may also allow an application to explicitly request that a module be loaded and to obtain references to routines in the module; this can be used to implement plug-ins.

The above was taken from the Wikipedia entry Library (computing).


Questions asking us to recommend or find a library, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

3395 questions
11
votes
3 answers

How to include library dependencies with a python project?

I'm working on a program which a few other people are going to be using, made in Python. They all have python installed, however, there are several libraries that this program imports from. I would ideally like to be able to simply send them the…
Matthew Winfield
  • 827
  • 4
  • 10
  • 25
11
votes
3 answers

What are some great but little known libraries for Lua?

A common statement said regarding Lua is that it doesn't come with batteries included; meaning that it lacks a lot of extra libraries. I think there are a lot of Lua libraries out there and more are being developed all the time, but it is likely…
metacontent
  • 1,326
  • 1
  • 13
  • 18
11
votes
2 answers

How can I view the source of a google apps script Library

In the google apps script editor for google sheets, I can add a library created by others if I know the project key e.g. MKvHYYdYA4G5JJHj7hxIcoh8V4oX7X1M_ (a library for accessing the Twitter API) But how can I view the source of that library?
codecowboy
  • 9,835
  • 18
  • 79
  • 134
11
votes
6 answers

Best practices for creating libraries that use .NET namespaces

Is it bad practice to write a library that defines an interface dependent on another library? I know tight coupling is bad, but does this still apply when using .NET classes? For example, in .NET, if I have a library that returns a Color object, it…
DanDan
  • 10,462
  • 8
  • 53
  • 69
11
votes
3 answers

When should I use an MVC framework in JavaScript?

I know this topic is likely to become subjective, therefore it is not about my particular web application I am working on. For JavaScript, I haven't worked with MVC libraries like Backbone.js but I see the advantage in decoupling logic and views. On…
danijar
  • 32,406
  • 45
  • 166
  • 297
11
votes
2 answers

how to #include third party libraries

I have built and installed a library called OhNet. After make install the corresponding header files of the framework have been installed under usr/local/include/ohNet. Now I want to use the Library in my C++ project (i am using eclipse) but when i…
Moonlit
  • 5,171
  • 14
  • 57
  • 95
11
votes
2 answers

How to I find the filename of a library via the library name?

How to I find the filename of a library via the library name? In otherwords, when I use "-lc", I know it is /lib/libc.so.6 (or something similar.) I want to be able to type some command where "-lc" is the input and "/lib/libc.so.6" is the output. To…
Crazy Chenz
  • 12,650
  • 12
  • 50
  • 62
11
votes
1 answer

Creating a Visual Studio property sheet to ease the use of a C++ library

I am building a C++ library (set of headers, import libs and DLLs). I want to make using this library as easy as possible for any developer who wants to use it. Especially I don't want the consumers of this library to have to worry about changing…
Raman Sharma
  • 4,551
  • 4
  • 34
  • 63
11
votes
5 answers

Handling (possibly-changing) error codes of a library using exceptions

Let's say you are using a library that returns error codes. You'd like to write a wrapper for the library, and you'd like to handle errors with exceptions in the code. If the library is still in development by someone else, and if the error codes…
hattenn
  • 4,371
  • 9
  • 41
  • 80
10
votes
2 answers

Which Haskell library for computer graphics geometry?

I would like to do some experiments in computer graphics in Haskell. This will include doing some geometry calculations and ultimately writing a ray tracer. Which library should I pick for easy handling of vectors, matrices and relevant operations…
Tener
  • 5,280
  • 4
  • 25
  • 44
10
votes
3 answers

Should I use the 'request' module for a new project?

The 'request' module has been a long-time standard for Node.js. They have recently deprecated the library. I am starting a new project, and looking for the best solution to do my networking. I started off using the native 'https' module, but ran…
Evorlor
  • 7,263
  • 17
  • 70
  • 141
10
votes
2 answers

Is stdio.h a library?

The C Programming Language calls stdio.h a library. However, I am being told that it's a header file only meant for the compiler, which is true, and therefore it's not a library. Other programming sites on the Internet call it a library. Is the…
10
votes
5 answers

Starting with OpenGL and C++, proper path?

I need some specific and some general advice. I'm a fairly proficient Java programmer and a very experienced web programmer, but I would like to get into software development and I've been tackling C++. I have a great idea for a game I'd like to…
user446882
  • 357
  • 5
  • 16
10
votes
4 answers

How can I determine which libraries are used in a Delphi program I don't have the source for?

I have a windows .exe file, but the source code for it is missing. The developer was not responsible and left our company. I think it was a delphi/pascal program. The developer used many libraries but I am not sure which ones. Is there a tool…
sayf
  • 103
  • 1
  • 4
10
votes
3 answers

What are the common libraries for C?

C++ has STL and Boost and C# has the .net Framework library. Similarly, what are the most common libraries useful to a C programmer? (Other than the C standard library.) I am looking for most of the capabilities available in the STL: containers…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292