Download/Running:
Binaries
Windows
Download largeintcalculator.exe
, and just run it like so:
./largeintcalculator.exe
Linux
Download largeintcalculator
, and just run it like so:
chmod +x largeintcalculator
./largeintcalculator
MacOS
Download largeintcalculator
, and just run it like so:
chmod +x largeintcalculator
./largeintcalculator
Building from source
This was built using CMake (minimum version of 3.25
) and C17 (ISO/IEC 9899:2018
). I was using GCC / Mingw-w64. (MinGW-w64 9.0, CMake 3.25.2 - You can just use CLion, even more specific, I used ninja as build tool, gcc as C Compiler, g++ as C++ Compiler). Simply download the source code, then do the following:
cmake --build "path/to/source/cmake-build-debug" --target largeintcalculator -j 14
for example, in my case:
cmake --build "D:\C Projects\largeintcalculator\cmake-build-debug" --target largeintcalculator -j 14
where:
- "D:\C Projects\largeintcalculator\cmake-build-debug": This is the directory where you want to build your project.
- largeintcalculator: This is the target you want to build.
- 14: This is the number of cores you want to use for the build.
cmake --build <build-directory-path> --target <target-name> -j <number-of-cores>
where:
- <build-directory-path>: The path to the directory where you want to build your project.
- <target-name>: The target you want to build. A target can be an executable, library, or a custom target you have defined.
- <number-of-cores>: The number of cores to use for the build. This is optional and allows you to perform a parallel build if your system supports it.
Full Changelog: https://github.com/CodeByAidan/Data-Structure-Project/commits/v1.0