+ 2

[SOLVED] How do I move the type cursor on screen in c++?

To any position

24th Nov 2019, 12:53 AM
Nailsonseat
Nailsonseat - avatar
3 Antworten
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
28th Nov 2019, 3:26 PM
Nailsonseat
Nailsonseat - avatar
+ 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
24th Nov 2019, 1:55 AM
Arsenic
Arsenic - avatar
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
24th Nov 2019, 2:23 AM
Nailsonseat
Nailsonseat - avatar