+ 2
[SOLVED] How do I move the type cursor on screen in c++?
To any position
3 Answers
0
Thanks to Martin, I was able to make this
https://code.sololearn.com/cv28eENliDnk/?ref=app
I also made this one, to navigate cursor on screen using cursor keys or WASD
https://code.sololearn.com/cCpQsPXnKnN8/?ref=app
I made these in visual studio
+ 2
You can use *goto* statement but I would not preffer it for large programs as it makes the logic more complex but for small programs it is not a problem to use goto statement.
Here is how to use goto statement:-
https://www.google.com/amp/s/www.geeksforgeeks.org/goto-statement-in-c-cpp/amp/
And yes, in larger programs insted of goto, you can use loops to tackle it
0
Yes you are right, I have been using goto and labels till now.
Like this on codeblocks
https://code.sololearn.com/cW1gDmasHSKd/?ref=app
But I wanted to know if there is any way I can move the cursor on screen to any row, column or position I want