flush stdout

This commit is contained in:
Chris Cromer 2018-11-11 18:09:18 -03:00
parent 0d2d59e84b
commit 6ab7930b24
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -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();