|
-
May 6th, 2002, 11:06 PM
#1
Thread Starter
Lively Member
Updating text on the current line..
OK.. this is a console app...
-------------
#include <stdio.h>
#include <iostream.h>
void main(void)
{
int i=0;
printf( "%i", i );
for( i=0; i<10; i++ )
{
// update %i with value of i
}
}
-------------
now i want to have it count to 10... but just update the current line where the printf is printing i (like it will show 1, then replace 1 with 2, then replace 2 with 3, etc etc...) .... but i dont know how to update the current line..... anyone know how?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|