Git Product home page Git Product logo

42_libft's Introduction

Libft

Custom C library to replace some standard libc functions

This was an introductory project for Hive Helsinki, the Finnish branch of the 42 Coding School network.

The assignment was to re-code from scratch the functionality of a subset of the standard libc functions, to learn to code in C as well as have a base library which to build upon as we are prohibited from using most built-in standard library functions in our projects.

The version tagged old is the first state of the project to pass the evaluations. (Hivers III old curriculum, Norm v3)

The functions feature:

  • Counting
  • String manipulation
  • Memory operations
  • Heap allocation / free
  • Array operations
  • Comparison
  • Iteration / recursion

With bonuses regarding linked lists and custom functions.

Installation

cd into the root folder and make with the appropriate rules to compile libft, then link it with your own programs. See Makefile for further details.

The supported standard targets are:

  • all : (default) standard deployment build
  • clean : remove object files
  • fclean : remove objects and binary
  • re : full rebuild

In addition you can use the following, defined in config.mk:

  • W|BUILD_STRICT : build with stricter -W flags, useful during development
  • O|BUILD_OPTIMAL : build with heavier optimization
  • D|BUILD_DEBUG : build with debug symbols and fsanitize

Plus a utility command for running Norminette on the project:
norme

TODO:

  • .so target (mainly to support the testers on linux)

42_libft's People

Contributors

nootech avatar

Watchers

 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.