flush stdout
This commit is contained in:
parent
0d2d59e84b
commit
6ab7930b24
@ -192,6 +192,7 @@ int main (int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
else if (algoritmo == 2) {
|
else if (algoritmo == 2) {
|
||||||
fprintf(stdout, "Bubble sort corriendo...\n");
|
fprintf(stdout, "Bubble sort corriendo...\n");
|
||||||
|
fflush(stdout);
|
||||||
start_timer();
|
start_timer();
|
||||||
bubble_sort(array, n);
|
bubble_sort(array, n);
|
||||||
stop_timer();
|
stop_timer();
|
||||||
|
Loading…
Reference in New Issue
Block a user