Skip to content

CodeByAidan/Data-Structure-Project

Repository files navigation

Large Integer Calculator in C

Table of Contents

About

A project that I've been working over for the last month as a side-project, a large integer calculator in C.

Prerequisites

  • GCC Compiler (MinGW on Windows or GCC on Linux and MacOS)
Windows
Running the Executable
  1. Open the command prompt and navigate to the directory where the project is located.
  2. Run the following command to run the executable:
    cd windows && largeintcalculator.exe
Compiling the Project
  1. Open the command prompt and navigate to the directory where the project is located.
  2. Run the following command to compile the project:
    gcc largeintcalculator.c -o largeintcalculator && largeintcalculator
  3. The program will start and you can use it.
  4. To exit the program, type `7` on the menu.
Linux
Running the Executable
  1. Open the terminal and navigate to the directory where the project is located.
  2. Run the following command to run the executable:
    cd linux && ./largeintcalculator
Compiling the Project
  1. Open the terminal and navigate to the directory where the project is located.
  2. Run the following command to compile the project:
    gcc largeintcalculator.c -o largeintcalculator && ./largeintcalculator
  3. The program will start and you can use it.
  4. To exit the program, type `7` on the menu.
  5. If you get an error while compiling the project, try to install the GCC compiler using the following command:
    sudo apt install gcc
MacOS
Running the Executable
  1. Open the terminal and navigate to the directory where the project is located.
  2. Run the following command to run the executable:
    cd macos && ./largeintcalculator
Compiling the Project
  1. Open the terminal and navigate to the directory where the project is located.
  2. Run the following command to compile the project:
    gcc largeintcalculator.c -o largeintcalculator && ./largeintcalculator
  3. The program will start and you can use it.
  4. To exit the program, type `7` on the menu.
  5. If you get an error while compiling the project, try to install the GCC compiler using the following command:
    brew install gcc

License

This project is licensed under the MIT License - see the LICENSE file for details.