Hi having problems changing title of console.I have included windows.h and have called the function in main but keep getting
heres where i call it in mainCode:error C2664: 'SetConsoleTitleW' : cannot convert parameter 1 from 'const char [5]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
in any of the online examples I have found this is the way it was done.Tried looking at the error code on MSDN but tbh I didnt understand the examples.Code:SetConsoleTitle("NEWNAME");
Thanks



LinkBack URL
About LinkBacks



