Adapt your C++ projects to provide the best resource management with custom string libraries.
- Hi, I'm Bill Weinman, and welcome to C++ Build Your Own String Library. The goal of this course is to show you how to build a drop and replacement for the standard C++ STL String Library. We'll start with a discussion of the process of deciding to undertake this project. I'll explain how I decided to build a replacement string library and what I hoped to accomplish in the process. I'll describe the constructors and destructor, data structures, memory management, and how I used move semantics and smart pointers to make the job both simpler and more reliable.
And finally, I'll cover the details of the various functions that the string library provides, including find, replace, substring, and string splitting operations. This course presumes that you have a working knowledge of C++ including functions, classes, objects, and templates. If you need to brush up on your C++, please see my course C++ Essential Training here on the lynda.com online training library. The process of building your own string library is an effective way to hone and refine your C++ programming skills.
It will help you understand how to create more efficient and reliable C++ classes. So let's get started with C++ Build Your Own String Library.