Hallo,
I'm having a bit of trouble with strings, namely converting between arrays of BYTEs and wstrings.
I have the following code:
What's the line of code to append Name to filename?
(so that filename = 'C:\Temp\output.txt')
I've tried lots of things, but just get incomprehensible error messages which stretch over three lines.
As you can probably tell I'm new to C++ and I can't say that I like it.
The code is inherited, and I'm not able to change any of the types involved.
Any help much appreciated,
- Frink
I'm having a bit of trouble with strings, namely converting between arrays of BYTEs and wstrings.
I have the following code:
Code:
BYTE Name[]="output.txt"
wstring filename = L"C:\Temp\"
(so that filename = 'C:\Temp\output.txt')
I've tried lots of things, but just get incomprehensible error messages which stretch over three lines.
As you can probably tell I'm new to C++ and I can't say that I like it.
The code is inherited, and I'm not able to change any of the types involved.
Any help much appreciated,
- Frink