Console cursor position changing on input. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Console cursor position changing on input.

I want to make a program in which the output will be random letters of alphabets then when we will press any key of letter from keyword the console cursor should move on that letter. C++

3rd Aug 2022, 9:48 PM
Muhammad Aqeel
Muhammad Aqeel - avatar
1 Answer
0
Hi Muhammad, In terms of moving the cursor to a specific character in the console, I would recommend to take a look at virtual terminal escape sequences from MSDN. https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
4th Aug 2022, 2:31 AM
Sickfic
Sickfic - avatar