I have some C++ code that I found that does exactly what I need, however I need it in C and I do not know how I could do it in C, so I am hoping someone can help me out.
The C++ code is:
std::string value( (const char *)valueBegin, (const char *)valueEnd );
This is using the string::string constructor:
template<class InputIterator> string (InputIterator begin, InputIterator end);
Can anyone help me in converting this to C code?
Thanks!