Sanjeetjmp
0
Newbie Poster
Recommended Answers
Jump to PostThe string class overloads the + operator to do string concatenation.
You seldom have to use operator overloading yourself.
You could use it, if you had for example written a date class or complex number class, to add two dates or complex numbers together.
All 2 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
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.