libcore
libcore is a project that requires us to re-create some standard C library functions including some additional ones that can be used later to build a library of useful functions for the rest of the program.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Keywords
Repository
libcore is a project that requires us to re-create some standard C library functions including some additional ones that can be used later to build a library of useful functions for the rest of the program.
Basic Info
Statistics
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
Readme.md
42-Libft
Projet Libft (42cursus) 2024
:pushpin: Index
- What's this Repo?
- List of Functions
- Technologies
- How to Run
- Find a Bug? Or somenthing need to change?
:sparkles: What is Libft?
Libft is an individual project at 42 that requires us to re-create some standard C library functions including some additional ones that can be used later to build a library of useful functions for the rest of the program.
At 42 we're not allowed to use some standard libraries on our projects, so we have to keep growing this library with our own functions as we go farther in the program.
:bookmark_tabs: List of Fucntions
Functions from <ctype.h>
- [x]
ft_isalpha- checks for an alphabetic character. - [x]
ft_isdigit- check for a digit (0 through 9). - [x]
ft_isalnum- checks for an alphanumeric character. - [x]
ft_isascii- checks whether c fits into the ASCII character set. - [x]
ft_isprint- checks for any printable character. - [x]
ft_toupper- convert char to uppercase. - [x]
ft_tolower- convert char to lowercase.
Functions from <string.h>
- [x]
ft_strlen- calculate the length of a string. - [x]
ft_memset- fill memory with a constant byte. - [x]
ft_bzero- zero a byte string. - [x]
ft_memcpy- copy memory area. - [x]
ft_memmove- copy memory area. - [x]
ft_strlcpy- copy string to a specific size. - [x]
ft_strlcat- concatenate a string to a specific size. - [x]
ft_strchr- locate character in a string. - [x]
ft_strrchr- locate character in a string. - [x]
ft_strncmp- compare two strings. - [x]
ft_memchr- scan memory for a character. - [x]
ft_memcmp- compare memory areas. - [x]
ft_strnstr- locate a substring in a string. - [x]
ft_strdup- creates a duplicate for the string passed as a parameter.
Functions from <stdlib.h>
- [x]
ft_atoi- convert a string to an integer. - [x]
ft_calloc- allocates memory and sets its bytes' values to 0.
Non-standard functions
- [x]
ft_substr- returns a substring from a string. - [x]
ft_strjoin- concatenates two strings. - [x]
ft_strtrim- trims the beginning and end of a string with a specific set of chars. - [x]
ft_split- splits a string using a char as parameter. - [x]
ft_itoa- converts a number into a string. - [x]
ft_strmapi- applies a function to each character of a string. - [x]
ft_striteri- applies a function to each character of a string. - [x]
ft_putchar_fd- output a char to a file descriptor. - [x]
ft_putstr_fd- output a string to a file descriptor. - [x]
ft_putendl_fd- output a string to a file descriptor, followed by a new line. - [x]
ft_putnbr_fd- output a number to a file descriptor.
:computer: Technologies
This Project was made with:
:construction_worker: How to Run
```bash
**********COMMANDS*********
run - run compile all the libtest with the your libft and run the all tests
$ make all
clean - remove the .o and .c files
$ make clean
fclean - remove the .o and .c files and the .a
$ make fclean
re - remove all files and remake all
$ make re
after run one time the the comand all
you can use compile others files .c using this lib
and using the function of then.
$ gcc main.c -L . -lft
```
- Actual Status :
- Result :
- Observations : (null)
Libft
| Resource | Source |
| :--------------------------------------------------------------------------------------- | :-------- |
| Libft - C Standard Library Rewrite | Website |
| Easy Makefile | Website |
| Master Memory Management | Medium |
| Make-A-Make: Clear the fog around Makefiles | GitHub |
| Project | Source | User |
| :--------------------------------------------------------------------------------------- | :-------- | :--- |
| 42's libft with comments | GitHub | pbie42 |
| Tester | Source | User |
| :--------------------------------------------------------------------- | :-------- | :--- |
| francinette | GitHub | xicodomingues |
| libftTester | GitHub | Tripouille |
| libftfilechecker | GitHub | Nuno-Jesus |
| libft-unit-test | GitHub | alelievr |
| Libftest | GitHub | jtoty |
| libft-war-machine | GitHub | 0x050f |
Owner
- Name: yassine benmansour
- Login: yassinbenmansour
- Kind: user
- Location: morocco - Rabat
- Website: https://lazy-ben.web.app/
- Twitter: lazybenmansour
- Repositories: 9
- Profile: https://github.com/yassinbenmansour
I'm in love with clean code
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this library in your project, please cite it as below."
title: libft
version: 1.0.0
date-released: 2025-05-11
authors:
- family-names: Benmansour
given-names: Yassine
affiliation: 42 Network | 1337MED
license: MIT
repository-code: https://github.com/yassinbenmansour/libcore
url: https://github.com/yassinbenmansour/libcore
keywords:
- C
- library
- 42school
- libft
GitHub Events
Total
- Watch event: 1
- Push event: 2
- Gollum event: 2
Last Year
- Watch event: 1
- Push event: 2
- Gollum event: 2