Basic implementation of a String class in C++ using C-style functions