GithubHelp home page GithubHelp logo

levonka / libft Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.45 MB

School 42 project. C library (Reimplementation of libc functions)

Makefile 1.55% C 98.45%
library c libft 42school 42 42projects

libft's Introduction

libft

Libft is a School 42 project. The purpose of this project is to create own C library.

libft.en.pdf is the task file.

Usage

To compile the library, run:

$ make

Final score

125/100 (max)

List

Functions from <ctype.h> library

Functions from <stdlib.h> library

  • ft_atoi - convert ASCII string to integer.

Functions from <strings.h> library

Functions from <string.h> library

Non-standard functions

  • ft_putchar - output a character to stdout.
  • ft_putchar_fd - output a character to given file.
  • ft_putstr - output string to stdout.
  • ft_putstr_fd - output string to given file.
  • ft_putendl - output string to stdout with newline.
  • ft_putendl_fd - output string to given file with newline.
  • ft_putnbr - output integer to stdout.
  • ft_putnbr_fd - output integer to given file.
  • ft_itoa - convert integer to ASCII string.
  • ft_strtrim - trim beginning and end of string with the specified characters.
  • ft_strjoin - concatenate two strings into a new string (with malloc).
  • ft_split - split string, with specified character as delimiter, into an array of strings.
  • ft_strmapi - create new string from modifying string with specified function.

Linked list functions

  • ft_lstnew - create new list.
  • ft_lstadd - add new element at end of list.
  • ft_lstdelone - delete element from list.
  • ft_lstiter - apply function to content of all list's elements.
  • ft_lstmap - apply function to content of all list's elements into new list.

libft's People

Contributors

levonka avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.