added files
CMake Build / build (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-04-12 20:44:08 -07:00
commit 4588950b31
34 changed files with 1342 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <iostream>
#ifdef _WIN32
#include <windows.h>
#endif
void gotoxy(int x, int y) {
#ifdef _WIN32
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
COORD pos = {(SHORT)x, (SHORT)y};
SetConsoleCursorPosition(hConsole, pos);
#else
printf("\033[%d;%dH", y, x);
#endif
}