Skip to content

Latest commit

 

History

History
166 lines (115 loc) · 2.97 KB

File metadata and controls

166 lines (115 loc) · 2.97 KB

UNIWA

UNIVERSITY OF WEST ATTICA
SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER ENGINEERING AND INFORMATICS

University of West Attica · Department of Computer Engineering and Informatics


Computer Programming

Subprograms

Vasileios Evangelos Athanasiou
Student ID: 19390005

GitHub · LinkedIn


Supervision

Supervisor: Nikolaos Vassilas, Professor

UNIWA Profile

Co-supervisor: Georgios Meletiou, Laboratory Teaching Staff

UNIWA Profile


Athens, December 2021



INSTALL

Subprograms

This guide explains how to set up, build, and run the project on your local machine.


1. Prerequisites

1.1 Required Software

  • C Compiler

    • Recommended:
      • GCC (Linux / macOS / Windows via MinGW or WSL)
  • Text Editor or IDE

    • Visual Studio Code (Recommended)
    • Code::Blocks
    • Dev-C++
    • CLion
    • Any plain text editor

1.2 Supported Operating Systems

  • Windows
  • Linux (Recommended)
  • macOS

2. Installation

2.1 Clone the Repository

Clone the repository to your local machine:

git clone https://github.com/Computer-Programming-aka-Uniwa/Functions.git

2.2 Alternative (Without Git)

  • Open the repository URL in your browser
  • Click Code → Download ZIP
  • Extract the ZIP file to a local directory

3. Compiling & Running the Programs

3.1 Navigate to Source Directory

cd Functions/src

3.2 Compile the Programs

gcc Hanoi.c -o Hanoi
gcc SinCosTaylor.c -o SinCosTaylor -lm
gcc Menu.c -o Menu -lm

-lm is required to link the math library

3.3 Run the Programs

Linux / macOS

./Hanoi
./Menu
./SinCosTaylor

Windows

Hanoi.exe
Menu.exe
SinCosTaylor.exe

4. Open the Documentation

  1. Navigate to the docs/ directory
  2. Open the report corresponding to your preferred language:
    • English: Subprograms.pdf
    • Greek: Υποπρογράμματα.pdf