Hi every1 there Can anyone provide me code for Using Dynamic Constructors write a C++ program to concatenate two given strings. Thanx in advance..
Why would you want to be so complicated? If you don't know how to determine if a string is a palindrome then your skills are *waaaaaay* short to be doing rocket science like this. Just use strcat like the rest of the planet does, or use a string object and do str1+str2.
adding two string will do ? Code: string s1, s2 ,s3 ; s1 = s2 + s3; //conconate string s2 and string 3 to string s1.