Libft es una librería de funciones estandar básicas en C.
Este es el primer proyecto de 42 School, aunque la estructura ha sido modificada para mayor comodidad, el código no ha cambiado.
Hay un documento PDF que explica el proyecto en el directorio raíz del repositorio. (es.subject.pdf)
Para poder hacer uso de esta librería necesitaras:
Usar un sistema operativo Linux o una máquina equivalente.
make: una utilidar para abreviar comandos
gcc: (GNU Compiler Collection) un compilador de C
git clone [email protected]:Mariosito2000/Libft.git
cd Libft
Para compilar la librería en el archivo "libft.a" usa el comando "make" en la terminal desde la raiz del proyecto.
Tienes disponibles los siguientes comandos:
make / make all
Compila la librería.
make clean
Borra los objetos pero no la librería.
make fclean
Borra los objetos y la librería.
make re
make fclean + make.
make test
Se incluye un archivo main.c con unas cuantas pruebas, siéntete libre de probar cualquier función en él, para después compilarlo y ejecutarlo con el comando make test.
MIT License
Copyright (c) 2022 Mario Arias Espinosa
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Libft is a library of basic standard functions in C.
This is the first project of 42 School. Although the structure has been modified for convenience, the code has not changed.
A PDF document explaining the subject is available in the root directory of the repository. (en.subject.pdf)
To be able to use this library you will need:
Use a Linux operating system or an equivalent machine.
make: a utility to shorten commands.
gcc: (GNU Compiler Collection) a C compiler.
git clone [email protected]:Mariosito2000/Libft.git
cd Libft
To compile the library into the "libft.a" file, use the "make" command in the terminal from the root of the project.
The following commands are available:
make / make all
Compiles the library.
make clean
Deletes the objects but not the library.
make fclean
Deletes the objects and the library.
make re
make fclean + make.
make test
A main.c file with some tests is also given, feel free to test any function and compile it with the make test command.
MIT License
Copyright (c) 2022 Mario Arias Espinosa
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.