Skip to content

Latest commit

 

History

History
169 lines (118 loc) · 3.12 KB

File metadata and controls

169 lines (118 loc) · 3.12 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

Loops

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

Loops

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/Control.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 Loops/src

3.2 Compile the Programs

gcc MathsWithIntegersInLoopA.c -o MathsWithIntegersInLoopA
gcc MathsWithIntegersInLoopB.c -o MathsWithIntegersInLoopB
gcc Stars.c -o Stars
gcc SinTaylor.c -o SinTaylor -lm

-lm is required to link the math library

3.3 Run the Programs

Linux / macOS

./MathsWithIntegersInLoopA
./MathsWithIntegersInLoopB
./Stars
./SinTaylor

Windows

MathsWithIntegersInLoopA.exe
MathsWithIntegersInLoopB.exe
Stars.exe
SinTaylor.exe

4. Open the Documentation

  1. Navigate to the docs/ directory
  2. Open the report corresponding to your preferred language:
    • English: Loops.pdf
    • Greek: Βρόχοι.pdf