Is there anyway that I can stop the cursor from moving from a set point on my screen?
Say I have this (very simple) code:
The cursor would start off after the arrow, but could be moved around before the number was entered (Say by pressing enter and such), I was wondering if there was a way in which I can STOP the user from moving the cursor, for any reason other than to input?Code:printf("Enter a number (0-9) ->"); scanf("%d", &number);
And I'm aware I've been told about using scanf, but it's a simple example, and none to complex... bit like me
Thanks for any advice