//antiSystem.h
#include <iostream>
#include <windows.h>
#include <conio.h>
using namespace std;
void cls()
{
DWORD n;
DWORD size;
COORD coord = {0};
CONSOLE_SCREEN_BUFFER_INFO csbi;
HANDLE h = GetStdHandle ( STD_OUTPUT_HANDLE );
GetConsoleScreenBufferInfo ( h, &csbi );
size = csbi.dwSize.X * csbi.dwSize.Y;
FillConsoleOutputCharacter ( h, TEXT ( ' ' ), size, coord, &n );
GetConsoleScreenBufferInfo ( h, &csbi );
FillConsoleOutputAttribute ( h, csbi.wAttributes, size, coord, &n );
SetConsoleCursorPosition ( h, coord );
return;
}
void pause()
{
cout<<"Press any key to continue . . .";
getch();
cout<<endl;
return;
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.