I get this error:
argument of type "char *" is incompatible with parameter of type "LPCWSTR"
Here's a part of my code
void score(void)
{
char s[128];
sprintf_s(s, "Thread War! Hits:%d Misses:%d", hit, miss);
SetConsoleTitle(s);
...
}
How to fix this?