hi freinds,
I want the code for string concatenation and string substr without using the strcat and substr functions...
What could be C++ code for this?
move the pointer forward unless it points to a null character, i.e., access all the elements of the first string by the pointer str1. Then acceess each element of second string to the first. At last add a null character.
}
This is waht i tried for concatenation..but its not working..there is some error when i am taking the input into the strings str1 and str2...i am not able to read the input properly into the strings..how to read the input properly>???