Compare commits

..

No commits in common. "fddf7ab78082c90a674fda8ba1bbcbdc719683b7" and "0ed198232976665e224a643af8119c57b1a516eb" have entirely different histories.

2 changed files with 3 additions and 4 deletions

@ -72,14 +72,14 @@ int main(int argc, char *argv[])
rewind(file);
for (uint i = 0; i < lines; i++) {
char *buffer = NULL;
size_t bufferSize = 0;
if (getline(&buffer, &bufferSize, file) == -1)
break;
sscanf(buffer, "%d %d", &array1[i], &array2[i]);
}
free(buffer);
bufferSize = 0;
fclose(file);
qsort(array1, lines, sizeof(int), compareInt);

@ -4,10 +4,9 @@ in
pkgs.mkShell {
packages = with pkgs; [
# Choose the build tools that you need
cmake
gcc
gdb
valgrind
cmake
];
}