+ 1

¿Qué es una librería eståndar? / What is a std library?

Help, I'm new in this world

3rd Jan 2020, 1:49 AM
JOHNNIE MONDRAGÓN FUENTES
JOHNNIE MONDRAGÓN FUENTES - avatar
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.
3rd Jan 2020, 3:32 AM
Ivan
Ivan - avatar
+ 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.
3rd Jan 2020, 3:34 AM
Ivan
Ivan - avatar
+ 1
*Boom* Aclaratorio Mental, MuchĂ­simas Gracias
3rd Jan 2020, 3:35 AM
JOHNNIE MONDRAGÓN FUENTES
JOHNNIE MONDRAGÓN FUENTES - avatar
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 !
10th Jan 2020, 9:41 AM
Maxime D
Maxime D - avatar