I grouped these under one thread since they are all kinda inter-related, and I didn't wanna take up 5 sepearate threads...
1. When you are using the escape sequence '\b' to backspace in printf, is there anyway to make it do it more than once...for example, instead of having to type \b\b\b is there an easier way to make it backspace 3 times?
2. Is there anyway to advance the cursor forward 1 position using printf, kinda like the reverse of \b. I know you could just hit the spacebar, but I was wondering if that's the only way?
3. Is there anyway to make the cursor dissapear from the screen when using printf? Like when it sits there at the end of whatever i've displayed on the screen blinking.
4. I know %10d means put 10 spaces before printing the corresponding integer (in printf), but what if you want 10 blank spaces, and you aren't using an integer, is there a way? What I mean is:
Is there any other way to do the above that doesn't involve hitting the spacebar a bunch of times?Code:printf(" blah blah");
Thanks in advance,
--Ash



LinkBack URL
About LinkBacks



