Hello. I have these lines of code in the image above. The second line prints the address. But I like to print the value of this address e.g. "Microsoft Loopback Adapter".
How to do that?
Hello. I have these lines of code in the image above. The second line prints the address. But I like to print the value of this address e.g. "Microsoft Loopback Adapter".
How to do that?
Try using std::wcout:
std::wcout << description << std::endl;
cout
prints the pointer value of description as it does not treat description
as a pointer to a null terminated string.