Answers for "set cmd size c++"

C++
1

set cmd size c++

void setConsoleSize(int WIDHT, int HEIGHT)
{
    HWND console = GetConsoleWindow(); 
  	RECT r;
    GetWindowRect(console, &r);
    MoveWindow(console, r.left, r.top, WIDHT, HEIGHT, TRUE);
}
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language