Horje
How to get cursor position c++ Code Example
c++ get cursor position console
COORD GetConsoleCursorPosition(HANDLE hConsoleOutput)
{
    CONSOLE_SCREEN_BUFFER_INFO cbsi;
    if (GetConsoleScreenBufferInfo(hConsoleOutput, &cbsi))
    {
        return cbsi.dwCursorPosition;
    }
    else
    {
        // The function failed. Call GetLastError() for details.
        COORD invalid = { 0, 0 };
        return invalid;
    }
}
How to get cursor position c++
POINT p;
if (GetCursorPos(&p))
{
    //cursor position now in p.x and p.y
}




Cpp

Related
cpp set time Code Example cpp set time Code Example
tabeau pseudo dynamique sur c++ Code Example tabeau pseudo dynamique sur c++ Code Example
tabeau dynamique c++ Code Example tabeau dynamique c++ Code Example
std::ofstream file1(FILE_NAME, std::ios::app); Code Example std::ofstream file1(FILE_NAME, std::ios::app); Code Example
Currency Converter c++ Code Example Currency Converter c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11