write the program in c++ to define a class called toString with the following data member, class variable str1 and str2 member function get string, compare string, and concatenate String
Hello new member. I'm sure folk will be very interested in how much this job is paying. Sometimes folk just plonk in some homework assignment and don't show their work so far.
Be sure to read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question unless this is a job you are shopping around. If you are shopping be sure to share a complete software design spec and pay.
To be a little kinder than rproffitt (with whom I agree 100% in this sort of case), we DO NOT do your homework for you! Make an effort. Show your code, and the errors you may be getting.
Also, FWIW, I charge $200 USD per hour for consulting services.