Нужно сделать так.
total: 0%
total: 1%
int n;
for ( int a = 0; a < 100; a++ )
{
printf ( "total: %d%%%n", a, &n );
for ( int i = 0; i < n; i++ ) printf ("\b");
}
Нужно сделать так.
total: 0%
total: 1%
int n;
for ( int a = 0; a < 100; a++ )
{
printf ( "total: %d%%%n", a, &n );
for ( int i = 0; i < n; i++ ) printf ("\b");
}