Ulti.cpp

 avataruser_6225994
plain_text
2 months ago
316 B
1
Indexable
Never
#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 << ' ';
}