Use the gotoxy() function – conio.h – Old School C
Conio.h in C and C++ is one of the libraries that have a set of functions allowing for interacting with the console and, therefore, expanding the opportunities of console applications. Among these functions, gotoxy is essential for cursor control, allowing precise placement of text on the console screen. This article will explain the gotoxy function’s…