I have a WCHAR[]
, a wstringstream
, and an arbitrary section of the WCHAR[]
that I want to copy into the wstringstream
. What is the best way to do this?
It seems that there must be a better way than this:
for (int i = start; i < start + length; i++)
{
wszStringStream << wchr[i];
}