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
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ int main (int argc, char **argv) {
}
else if (algoritmo == 2) {
fprintf(stdout, "Bubble sort corriendo...\n");
fflush(stdout);
start_timer();
bubble_sort(array, n);
stop_timer();