I want to attach a new line to the OutputDebugStringW.
OutputDebugStringW(Item.pItem);
pItem is a LPCWSTR, not a wstring, so I could not directly add new line by saying + "/n".
Can somebody help?
I want to attach a new line to the OutputDebugStringW.
OutputDebugStringW(Item.pItem);
pItem is a LPCWSTR, not a wstring, so I could not directly add new line by saying + "/n".
Can somebody help?
Copyright © 2021 Jogjafile Inc.
Just output the newline in a separate call to
OutputDebugStringW:If for some reason you only want to make a single call to
OutputDebugStringW, build a string first: