
Пробывал кидать в исключения папку и сам исполняемый файл, отключать антивирус - ничего не помогает. Тоже пробовал компиляция в режимах отладки и выпуска не меняет результат.
Вот код:
Код: Выделить всё
#include
#include
using namespace std;
void clearRow(int row)
{
HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
COORD coord = { 0, row - 1 };
CONSOLE_SCREEN_BUFFER_INFO csbi;
GetConsoleScreenBufferInfo(hStdOut, &csbi);
FillConsoleOutputCharacter(hStdOut, ' ', 80, coord, NULL);
SetConsoleCursorPosition(hStdOut, csbi.dwCursorPosition);
}
void displayTime(int hours, int minutes, int seconds) {
clearRow(3);
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78177020/how-can-i-fix-norton-antivirus-blocking-my-code[/url]