+ 1
ÂżQuĂ© es una librerĂa estĂĄndar? / What is a std library?
Help, I'm new in this world
4 Answers
+ 2
Una librerĂa contiene funciones y mĂ©todos que te dan la oportunidad de hacer mucha cosas sin que usted tenga que escribir algo. Es comĂșn que librerĂas contienen mĂ©todos y funciones que vas a repetir muchas vecesïżŒ. Por ejemplo la librerĂa de matemĂĄtica contiene funciones que pueden calcular el promedio de un grupo de nĂșmeros. usted sĂłlo puede escribir una funciĂłn que te del promedio de un grupo de nĂșmeros pero no lo tienes que hacer porque ya alguien lo hizo y lo puso en la librerĂa de matemĂĄtica.
+ 1
im really sorry if my spanish is a little broken. i speak it fluently, but i rarely write it.
Libraries have different functions and methods inside them that allow you to do many different things. A std library or a standard library contains basic functions. To find all the contents of a library, search for the library name online.
+ 1
*Boom* Aclaratorio Mental, MuchĂsimas Gracias
0
Most of the time, standard libraries work on different plaftorm. They are useful when you need to work with the OS(networking, multithreading for example).
For example in c++, to create threads (simply : a small program next to the main program) : you can call Window's functions but your program won't work under Unix systems; you can call Unix's functions but it won't work under Windows...
So you call a standard library, existing for both Unix and Windows, so you just ask a thread, you don't have to check the OS !