2
I cannot resolve a character error in Visual Studio.
Code 1:
#include "pch.h"
#include <iostream>
#include <cstdlib>
#include <clocale>
#include <Windows.h>
using namespace std;
int main()
{
SetConsoleTitle("{ TEST }");
system("color 0A");
cout << "Ola Mundo\n";
cout << "ÁÉÍÓÚÇ\n";
setlocale(LC_ALL, "Portuguese");
cout << "ÁÉÍÓÚÇ\n" << endl;
setlocale(LC_ALL, "");
wcout << L"ÁÉÍÓÚÇ" << endl;
getchar();
return 0;
}
Code 2:
#include "pch.h"
#include <iostream>
#include <Windows.h>
void SetTitle_lithe() {
SetConsoleTitle("Process Memory Tools C++ - Family { CODE BUILDING }");
system("color 0A");
printf("\n");
printf(" ██████╗ ██████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗██╗██╗ ██████╗ ██╗███╗ ██╗ ██████╗ \n");
printf(" ██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██╔══██╗██║ ██║██║██║ ██╔══██╗██║████╗ ██║██╔════╝ \n");
printf(" ██║ ██║ ██║██║ ██║█████╗ ██████╔╝██║ ██║██║██║ ██║ ██║██║██╔██╗ ██║██║ ███╗\n");
printf(" ██║ ██║ ██║██║ ██║██╔══╝ ██╔══██╗██║ ██║██║██║ ██║ ██║██║██║╚██╗██║██║ ██║\n");
printf(" ╚██████╗╚██████╔╝██████╔╝███████╗ ██████╔╝╚██████╔╝██║███████╗██████╔╝██║██║ ╚████║╚██████╔╝\n");
printf(" ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ \n");
printf(" Process Memory Tools C++ - Family { CODE BUILDING }\n");
printf("\n");
}
int main()
{
SetTitle_lithe();
printf(" O processo 'Game.exe' não está em execução, abra e tente novamente!");
getchar();
return 0;
}
The problem started occurring after I had formatted Windows. At this time Windows 10 is updated in the latest version as well as Visual Studio and Windows SDK. I have tried to downgrade the Windows 10 SDK but failed to solve the problem as well.
Result Code 2 - Previous to Windows Formatting:
How to solve this problem?