Skip to content

Latest commit

 

History

History
174 lines (119 loc) · 3.01 KB

File metadata and controls

174 lines (119 loc) · 3.01 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

C Programming Fundamentals

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, November 2021



INSTALL

C Programming Fundamentals

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/Basic.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 Basic/src

3.2 Compile the Programs

Using GCC:

gcc MathsIntegers.c -o MathsIntegers -lm

-lm is required to link the math library

gcc CubeSphere.c -o CubeSphere

3.3 Run the Programs

Linux / macOS:

./MathsIntegers
./CubeSphere

Windows:

MathsIntegers.exe
CubeSphere.exe

4. Open the Documentation

  1. Navigate to the docs/ directory
  2. Open the report corresponding to your preferred language:
    • English: Basic-Elements.pdf
    • Greek: Βασικά-Στοιχεία.pdf