Most voted "library" questions
Use this tag for questions about software libraries. A library is a collection of non-volatile resources, usually used in software development.
Learn more…138 questions
Sort by count of
-
223
votes6
answers64346
viewsWhat is the difference of API, library and Framework?
They seem to me very close terms and eventually I see texts that exchange one for the other, as if in some situations their definitions overlap. What would be the technical definitions to…
-
59
votes3
answers6039
views -
15
votes3
answers2478
viewsHow do C graphic libraries work?
How graphic libraries work? For example, the standard C execution mode is the application console, as from that only text can create the graphical libraries where you understand pixel instead of…
-
12
votes3
answers490
viewsHow is a Framework developed?
I’ve used a few frameworks they really streamlined the development of my project, helped me, I didn’t have to waste time building the common part of my problem that other people had already…
-
12
votes2
answers623
viewsHow to publish a Typescript library on NPM?
I set up the package.json with the properties main and types: { "name": "idb2promise", "version": "0.0.5", "description": "TypeScript library to manage IndexedDB Storage", "main": "./dist/index.js",…
-
11
votes1
answer338
viewsC libraries outside the ANSI standard
I am aware that, a C program in ANSI standard can be compiled both on Windows, both on Linux. But when it comes to using sockets? That’s not part of the pattern ANSI C? Because when I use sockets in…
-
10
votes1
answer3149
viewsHow does Javascript import libraries?
In programming languages such as Java, C# and C, when we want to use some command or function we should include the library containing the commands we want or the classes if it is object oriented…
-
8
votes1
answer660
viewsDifference between Library and Helper
What differentiates the helper of a library? For example: let’s say I have a class for URL manipulation. I call it and it completes the URL with the site path. That would be a helper?…
-
8
votes2
answers964
viewsProblems with importing libraries
I started developing for Android in my work and I was asked to start exchanging some simple things from an existing project, which works and has even been released (the version I’m trying to test).…
-
8
votes2
answers1596
viewsCreate Javascript Library
I would like to know how to create my own javascript library, ie, create functions that can be reused in various projects and with easy customization. I know that there are already several libraries…
-
8
votes1
answer1094
viewsWhy is jQuery becoming obsolete?
More and more, I find articles (in English or in Portuguese) that speak about it... I do wrong for continuing to use the jQuery on websites? What’s wrong with it? Is there any other framework (or…
-
7
votes3
answers145
viewsHow to embed one library into the other?
I have created a C++ game development library. Only my library needs another to display the images on the screen, the SDL2. So every time someone wants to use my library, they would have to link to…
-
6
votes2
answers198
viewsWhat are the advantages of creating dll’s in the project and not putting the classes directly into it?
In the company where I work use many DLL’s and I have a lot of difficulty debugging and understand this... In my projects (personal) I always put the classes directly in it and do not do as they, I…
-
5
votes1
answer295
viewsWhat is the difference between extension and library in PHP?
In PHP there are some extensions within the language. For example, the SPL, to PHAR and the PDO are some of these extensions. Basically, my doubts are as follows:: What’s the difference between an…
-
4
votes1
answer1246
viewsPrint special characters in c that are in a.txt file with locale library. h
My college late semester program has several screens that print large texts from arquivo.txt, however, as I do in c language, some characters do not appear, such as ç, é, ã...And so on and so forth.…
-
4
votes1
answer969
viewsIs it safe to use Timthumb?
I’m making a website and I started making use of the library Timthumb.php to resize the images in the exact size I want. However came to me two questions Is it safe to use? hear that past versions…
-
4
votes1
answer264
viewsPerformance difference between static and shared library
Which is the best performance? Compile the program using libraries such as Mysql Connector and Sqlite as Static (staying inside the compiled binary) or as Shared being separated from binary. In…
-
4
votes1
answer117
viewsCan I declare a library within a class in C++?
I need to use type variables string, the problem is that I cannot include libraries within my classes in Code::Blocks, there is some way to include the library string/string.h in my class in C++?…
-
4
votes2
answers1726
viewsHow to create a Library-Android using Android Studio?
I have some projects in development process and have several common classes for these projects. I would like to know how to create and use a Lib of the classes so I can reuse them whenever I need…
-
4
votes2
answers1726
viewsHow to create a Library-Android using Android Studio?
I have some projects in development process and have several common classes for these projects. I would like to know how to create and use a Lib of the classes so I can reuse them whenever I need…
-
4
votes1
answer313
viewsC/C++ standard libraries
What’s the downside of using libraries standards such as the function getch() and the library conio.h, What is the downside of using such libraries from a development point of view? More precisely…
-
4
votes1
answer203
viewsFunction "strcmp()" working without adding "string. h"
I wrote an algorithm in C that uses the function strcmp(). Even forgetting to add the string.h the algorithm worked. I would like to understand how it worked since I only found this function in the…
-
4
votes1
answer196
viewsDoubt about React in Javascript
I am a C programmer and recently I started studying Javascript, I already have a notion of programming but as I come from a language relatively "simple" I am facing difficulties in understanding…
-
3
votes2
answers232
viewsPython-docx module error in Windows
I’m using the following code: from docx import Document d = Document(open("arquivo.docx")) This code works on Ubuntu but does not work on windows. In windows I have the return in the terminal:…
-
3
votes2
answers1086
viewsHow to reference an external library?
I have a project in Asp.Net MVC where I would like to add some new libraries. They are available for download as .dll, but are also available on Manage Nuget Packages. What is the best way to add…
-
3
votes1
answer1984
viewsWhat Ruby applications do you have besides the web?
I want to delve into Ruby, for the ease of the language, as well as Python, which for example, in my University use a lot for mathematical and scientific applications. I see a lot of Ruby usage with…
-
3
votes2
answers1740
viewsQuery methods, classes and attributes in the C language
I wondered if in the C language and possible query libraries available their modules classes and attributes as in the Python language that exist the methods dir() and help() i am starting to learn C…
-
3
votes1
answer177
viewsPlace objects on image
I wonder how could do to place objects on an image on Android. An example would be to have the photo and on it put other images like circles, triangles etc... How could do this on android?…
-
3
votes1
answer603
viewsWatermark image on Laravel 5.2
Hello, does anyone know how I could do so that every image that is uploaded in the Watermark has a watermark? The image is sent by a form and through the $request->file('img') in the controller i…
-
3
votes1
answer977
viewsHow does Laravel read the file ". env"?
How Laravel does to read the file ". env"? I’ve looked in the repositories of Illuminate (from Laravel) and I didn’t find anything that gave me a hint of how to read this file. Is there a library…
-
3
votes1
answer63
viewsReuse of code with web language
I’m working on three apps different ones that use Ionic and Cordova. The three are very similar at some points mainly in the layout. I wonder if it is possible to create a kind of library or…
-
3
votes1
answer133
viewsError when building project with bilbioteca Commons-Email-1.4
In my project I needed to add the option of sending emails I added the library commons-email-1.4 I wrote all the code and tested it. So far everything perfect but when cleaning and building the file…
-
3
votes1
answer1970
viewsProblem with Pow() function
Would someone tell me why the following code does not compile? #include <math.h> double f(double x){ return (x - (pow(2,x))); }
-
3
votes1
answer62
viewsHow do I publish my library to a linux repository?
I have developed a C library and I want to make it available to other developers. I wish this library could be installed using the command apt-get, for example: sudo apt-get install minhalib and in…
-
3
votes1
answer61
viewsHow can I manage Javascript bilbiotecas in my PHP project?
I have a PHP project and use commiserate to manage libraries such as Phpmailer for sending emails. To be able to use the installed libraries just include the autoload: require…
-
3
votes1
answer119
viewsLibrary python asyncio
Hello, I am trying to install the asyncio library for Python 2.7.13 but I am not getting success, follow the error: rafamt@rafamttz:~$ Pip install asyncio` Collecting asyncio Retrying…
-
3
votes1
answer269
viewsWhat kind of . NET library should I choose in C#project?
I’m thinking of creating a new project in c# I saw three types of libraries that caught my attention and I couldn’t distinguish exactly what would be the best applicability in each project. .NET…
-
2
votes2
answers842
viewsHow to add a JAR library to a Java project without IDE?
Save. I’m having trouble adding the Jfreechart library to my Java project (using Windows 8). I’ve unpacked Jfreechart, but I don’t know what to do from there. Since I’m an old school programmer and…
-
2
votes2
answers2111
viewsUse of pthread library in windows environment
Is it possible to work with the pthread library normally in a windows environment? Or should it only be in linux?
-
2
votes1
answer22
viewsDoes a common Class Library work on Silverlight?
A destination class library can be used in .NET Silverlight? Would it work in a Silverlight web application? Thank you!…
-
2
votes1
answer109
viewsLibrary similar to Boost and STL in C
Is there a library similar to Boost and STL C++ with data structures, etc., in C?
-
2
votes1
answer1069
viewsHow to implement a video player with quality options for online playback?
Does anyone know of any library or other way to play videos from my server with quality control to avoid slow upload, youtube style, so that the user selects the resolution (for example). Thanks in…
-
2
votes1
answer36
viewsObject-Oriented Programming Simple Doubt with Implements
I’m using a php library. You have a class with a method that takes as parameter exactly this text that I will write: TextElementInterface $pText = null .In the definition of TextElementInterface he…
-
2
votes2
answers4669
viewsProblem with library Math. h (indefinite reference to `sqrt')
I’m having trouble compiling the code with the function sqrt() in the C language. Error: gcc exercicio_03.c /tmp/ccGVE8ez.o: na função `distancia': exercicio_03.c:(.text+0x142): referência…
-
2
votes2
answers2868
viewsHow to know which libraries are being used in a python project?
I did an installation of an application made in Python, it works basically as follows, it installs Python, the program and at the end the installation copies the folder with the libraries for the…
-
2
votes0
answers638
views(Java) Reading the Serial Port with the Jssc library
I have a java app that reads on the serial port with 7 data from a rotational sensor coming from the Arduino, via jssc. The code works, but the data is not formatted. I read 4 in 4 bytes, but…
-
2
votes1
answer539
viewshow to know the latest version of a Google library (dependency) for Android Studio
Generally, when we use features in Android Studio, you need to include libraries, example of a file build.Gradle (Module: app): dependencies { implementation fileTree(dir: 'libs', include:…
-
2
votes1
answer32
viewsHow to Add Angular Library to an Ionic Application
I have an angular 7 lib, which works normally when I import the library module into the main module of the Ionic application, the problem is that if I use the Ionic router to insert the "home"…
-
2
votes1
answer1024
viewsPut Maven Local Project as Dependency on Gradle Project
I have this Maven project that has all the application domain classes and logic. Then I created an external Gradle test project where I do system testing with Selenium Webdriver. In order not to…
-
2
votes1
answer72
viewsHow to import node_modules styles into an Angular 10 library?
I am developing an Angular 10 library. This library uses Swiper JS as a dependency. My library should import css styles from Swiper. I import Swiper styles from node_modules using the @import scss.…