Problem Statement:

You are required to define a string class name string. The data members of the class are the character array and size of the character array. There should be two constructors one is default and other should be overloaded constructor.
Display() is the method which display the string.

Now you are required to overload += operator

This operator should allow statements like
s1 += s2;

Fbody commented: You obviously didn't take salem's hint +1
WaltP commented: We don't do other people's homework for them. -2

Recommended Answers

All 2 Replies

Good luck with that.

Let us know when you decide not to cheat. Maybe we can help then.

Grrr.....You're lucky I goofed on the rep button...

commented: teeth++ ;) +19

Grrr.....You're lucky I goofed on the rep button...

That's OK. I got your back. With teeth!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.