Is there a C strings library for C (not C++) that implements an abstraction over char *
and wchar_t *
strings?
The requirements are:
Thanks,
h is the header in the C standard library for the C programming language which contains macro definitions, constants and declarations of functions and types used not only for string handling but also various memory handling functions; the name is thus something of a misnomer.
The string class is part of the C++ standard library.
Library Functions Compares the first n bytes of str1 and str2. Copies n characters from src to dest. Another function to copy n characters from str2 to str1. Copies the character c (an unsigned char) to the first n characters of the string pointed to, by the argument str.
The C standard library or libc is the standard library for the C programming language, as specified in the ISO C standard. Starting from the original ANSI C standard, it was developed at the same time as the C library POSIX specification, which is a superset of it.
What about this? Looks good, at least matches some of your criteria, but I didn't use it so it must be checked. At least I see BSD license here so it could be useful point to start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With