Code Monkey home page Code Monkey logo

stringslibrary's Introduction

StringsLibrary

Library consisted of puts, strlen, strcpy, strncpy and others

\include\ - foldes with strings library, and headers consisted of __assert__ macro and print defines
\src\ - dynamic unit-test system. Not completed due to lack of knowlegde about strict types of functions. Maybe someday i'll fix it

To build:

git clone https://github.com/hK04/StringsLibrary/
cd StringsLibrary/
make 
./main
- [Note] make clean deletes not only *.d but also main itself (in order to be able to usa make again)

Valgrind output:

valgrind ./main
==10324== Memcheck, a memory error detector
==10324== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==10324== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==10324== Command: ./main
==10324== HEAP SUMMARY:
==10324==     in use at exit: 0 bytes in 0 blocks
==10324==   total heap usage: 4 allocs, 4 frees, 5,636 bytes allocated
==10324== 
... work of program
==10324== All heap blocks were freed -- no leaks are possible
==10324== 
==10324== For lists of detected and suppressed errors, rerun with: -s
==10324== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

stringslibrary's People

Contributors

hk04 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.