0

Cursor Position in c

I want create a program to place my cursor to a specific location. I searched at Google and StackOver flow but I got nothing useful. I didn't try anything because I don't know how the cursor works. Please help me. Thanks in advance

1st Jan 2021, 4:11 PM
Muzammil
Muzammil - avatar
2 Antworten
+ 4
You can neither do that on SoloLearn nor do you have a solution that is platform independant. You can use the ncurses.h library in Linux and macOS https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ and the Windows version of same - http://gnuwin32.sourceforge.net/packages/ncurses.htm on Windows These libraries will not only give you the ability to move the cursor anywhere on the screen, but also a ton of more features like colors, scroll behaviour etc. This is the only library I know of. Maybe someone else can mention more libraries
1st Jan 2021, 4:29 PM
XXX
XXX - avatar
0
Does windows.h have any function like that?
3rd Jan 2021, 6:02 AM
Muzammil
Muzammil - avatar