MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / gotoXY

Function gotoXY

Project_E-Commerce_App_V3.0/Loading_Page.h:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <windows.h> // Loading
5
6void gotoXY(int x, int y) {
7 //'COORD' is a built in function for positioning the objects
8 COORD d;
9 d.X = x;
10 d.Y = y;
11 SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), d);
12}
13
14void F_Loading() {
15 cout << "\n\n\n\n\n\n";

Callers 1

F_LoadingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected