> Okay I know this is basic C++ but can someone tell me how to concatenate
> char[] to string.
[quoted text clipped - 4 lines]
> how can I do this:
> str = hexChar[1] + hexChar[3]; or str = str + hexChar[3];
If you're refering to System::String here, then the appropriate way would be
to use String::Concat(). You might want to make hexChar an array of
System::Char or wchar_t, instead, though...

Signature
Tomas Restrepo
tomasr@mvps.org
Poewood - 09 Sep 2004 03:15 GMT
Thank you will do.
"Tomas Restrepo (MVP)" wrote:
> > Okay I know this is basic C++ but can someone tell me how to concatenate
> > char[] to string.
[quoted text clipped - 8 lines]
> to use String::Concat(). You might want to make hexChar an array of
> System::Char or wchar_t, instead, though...