SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &cursor) // Set the cursor for next thing to be printedĬhar bricks = else if(dir = 'R' & x+speed x) dir = 0
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), c) // Set the position for next thing to be printedĬONSOLE_CURSOR_INFO cursor // Create a CONSOLE_CURSOR_INFO objectĬursor.dwSize = 100 // Assigning size of cursorĬursor.bVisible = false // Making cursor invisible used to move the cursor to a specific position on the screenĬOORD c // a structure having two members which are the X and Y coordinates