s21_strings icon indicating copy to clipboard operation
s21_strings copied to clipboard

🪶 A simple string.h implementation and sprintf & sscanf working with all flags & specifiers. (School 42)

String Processing Library

Table of contents

  • Introduction
  • Goals
  • Build
  • Tests
  • Credits

Introduction

Implementation of libc string.h functions with some additions, including sscanf and ssprintf with all specifiers and flags. Fully covered with unit-tests under TDD approach.

Goals

  • Become familiar with string handling in C
  • Learning to work with functions with variable number arguments (stdarg.h)
  • Following structured programming principles
  • Unit test coverage & test driven development
  • Teamwork & Communications (Trello)

Build

$ git clone https://github.com/bezlant/s21_strings
$ cd s21_strings/src/
$ make 

Tests

  • Unit tests are implemented using Check & coverage report with LCOV

Tests & Coverage

Credits