In this article, we will create our custom string class which will have the same functionality as the existing string class.
I won’t be implementing all of the functionalities of the string class instead I would implement the necessary functionalities that are much more used.

What you need to know:
1- Pointers
2- Classes in C++
3- Operator overloading

So, get your IDE or whatever setup you have and let’s get started.

First and foremost we need our class body. I am gonna call my class Thread (as it kind of gives the same feeling as strings ). It’s gonna…

Mayank Mishra

I like to code, make web apps, take photos, play badminton and watch anime. Gintama, Naruto and Avatar the last airbender are my favorite animes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store