itiel / dyn-str

A simple C library for working with dynamically allocated strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DynStr

A simple C library for working with dynamically allocated strings.

Usage

Include the dyn-str.h and dyn-str.c files in your project (located in the lib directory), then compile them with your source files.

For usage examples, please refer to the demo.c and test.c programs provided in the project.

You may compile and execute them like this:

cc -o demo demo.c lib/dyn-str.c && ./demo 

cc -o test test.c lib/dyn-str.c && ./test 

For a more in depth explanation of the API, please refer to the API Reference.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple C library for working with dynamically allocated strings.

License:MIT License


Languages

Language:C 100.0%