Compare commits

...
This repository has been archived on 2024-05-05. You can view files and clone it, but cannot push or open issues or pull requests.

2 commits

Author SHA1 Message Date
f211870a18
Merge branch 'main' into retrievedata 2024-04-24 23:26:09 +02:00
8cb18041f7
locale 2024-04-24 18:07:06 +02:00

View file

@ -2,6 +2,7 @@
#include "../includes/quicksort.h" #include "../includes/quicksort.h"
#include <assert.h> #include <assert.h>
#include <locale.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
@ -52,7 +53,8 @@ main(int argc, char *argv[])
} }
assert(delay >= 0.0); assert(delay >= 0.0);
printf("Done in %lf seconds.\n", delay); setlocale(LC_NUMERIC, "fr_FR.UTF-8");
printf("%lf\n", delay);
return 0; return 0;