On Thu, Oct 22, 2009 at 8:36 PM, totallyfreeenergy <[email protected]> wrote:
> Thank you for that. I was kinda looking for a simple solution like > CHAR* str1 = "string A"; > CHAR* str2 = "string B"; > CHAR* str3 = str1 + str2; > > This is so easy to do in Delphi... I don't know why there is no overloaded > '+' operator do this. You mean like this one? http://www.cplusplus.com/reference/string/operator+/ There is nothing like this in C, though, you are stuck with null-terminated arrays and strcat(). Use C++ string if you want something higher level and easier to use. -- Brett ------------------------------------------------------------ "In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world." -- Jelaleddin Rumi
