hi all,
I do not understand how i concatination of two string using pointer in c++.
please can you give sugestion how i implement..
thanks in advance
prasenjit_das
-6
Newbie Poster
Recommended Answers
Jump to PostGet first pointer. Count size of string.
Get second pointer. Count size of string.
Allocate new memory big enough for both strings.
Copy contents of first string into new string.
Copy contents of second string into new string.
All 2 Replies
Reply to this topic
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.