Skip to content

Helper libraries for managing strings, dynamic arrays and pcre2 regexes

License

Notifications You must be signed in to change notification settings

arnonuehm66/My_Little_C_Helper

Repository files navigation

My_Little_C_Helper

Helper libraries for managing strings, dynamic arrays, and regex ala PCRE2.

Now introducing a test program with 'main.c', where all is explained on how to use the libraries.

Put everything in a directory and compile it with

gcc -Wall main.c -o skeleton_main_c -lpcre2-8

Caveat: If you use libraries with -l add them all at the end of the gcc command line to prevent unnecessary errors!

If you want to use c_my_regex.h you have to install libpcre2 on your system.

Without 'c_my_regex.h'

gcc -Wall main.c -o my_prog_without_regex

will do the trick. ;o)

Now there is an addtional Makefile, where you can compile debug or release version and delete it. Use it like this:

make : Compile release version.

make debug : Compile debug version.

make clean : Delete the program.

About

Helper libraries for managing strings, dynamic arrays and pcre2 regexes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published