Ulti.cpp

user_6225994 avatar
user_6225994
plain_text
08/17/2023 6:25 AM
424 B
22
Indexable
#include <Windows.h>
#include "Ulti.h"
#include <iostream>

using namespace std;

void gotoxy(int x, int y) {
	static HANDLE h = NULL;  
	if(!h)
	h = GetStdHandle(STD_OUTPUT_HANDLE);
	COORD c = {x, y};  
	SetConsoleCursorPosition(h,c);
}

void Clearxy(int x, int y){
	gotoxy(x, y);
	cout << ' ';
}
Editor is loading...