Ok, so i'm making a program where I have to update the user constantly, but I don't want the output to go over the console buffer space, so I thought if I printed something,
I need to erase it, and print the next thing.Code:printf("%s", result);
I tried
But that didn't work properly.Code:printf("%s", result); for (i = 0; i == strlen(result); i++) { printf("\b"); }
There were still characters there when I printed the next bit of information.
Any idea's?
Thanks.