vascopereiraa / Virus-Propagation

Final Project for Programming class at Instituto Superior de Engenharia de Coimbra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virus Propagation

Final Project for Programming class @ Instituto Superior de Engenharia de Coimbra
Fist year - Second Semester -- Year 2019/2020

About the work

My job was to create a program using C language to simulate the propagation of a Virus in a certain space and population. The space was stored in a dinamic array and the population was stored in a simple linked list.
The main purpose was:

  • Advance 1 iteration at time in the simulation (Each iteration corresponds to 1 day in the simulation)
  • Show statistics
  • Add a new sick person to the simulation
  • Transfer people between linked spaces
  • Recover the last 3 iterations in the simulation

All the iteractions with the user in the command-line are in Portuguese.

Avaluation

In this project I got 99% out of 100%

Guide

As well as all iteractions are in portuguese, the guides to the work are in the same language.
First Guide
Extra Guide

Usage

In order to run the program as it is I recommend to use Apache NetBeans with the C/C++ extension.
You also don't need any extension or specific library to run the project, only contains simple C source code.

Files

In the repository, along with the source code I have text files and binary files, them are used to run the code.
The population to fill the linked list is saved in text files and the spaces are stored in the binary files.\

About

Final Project for Programming class at Instituto Superior de Engenharia de Coimbra


Languages

Language:C 58.6%Language:Makefile 22.7%Language:C++ 14.0%Language:Shell 4.4%Language:NASL 0.2%