An open API service indexing awesome lists of open source software.

https://github.com/yazninja/ccprog2mp

A culminating activity (in parts) showing what we learned about in C language and algorithms
https://github.com/yazninja/ccprog2mp

Last synced: 4 months ago
JSON representation

A culminating activity (in parts) showing what we learned about in C language and algorithms

Awesome Lists containing this project

README

        

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]




CCPROG 2 Machine Project


A culminating activity (in parts) showing what we learned about in C language and algorithms


Explore the docs »




Report Bug
·
Request Feature

Table of Contents




  1. About The Project



  2. Getting Started


  3. Contributing

  4. Contact

## About The Project

This project was made as a culmination of lessons we have learnt while studying the C language. Each Part of this Machine Project was tested and runned by themselves according to each of their specs. Learn more below.

* Extras
* [GE03](https://github.com/yazninja/CCPROG2MP/GE03)
* [Produce Data](https://github.com/yazninja/CCPROG2MP/tree/master/PRODUCE%20DATA)

### Built With

* [Dev C++](https://sourceforge.net/projects/orwelldevcpp/)
* [Visual Studio Code](https://code.visualstudio.com/)
* Compiler: [gcc (GCC) 11.1.0](https://gcc.gnu.org/codingconventions.html)

## Getting Started

To get a local copy up and running follow these simple steps.

### Prerequisites

To run this code with your system you have to install the gcc compiler as a pre-requisite to run C code in your terminal.
* ##### Windows
Windows users can easily open and compile the code using the [Dev C++](https://sourceforge.net/projects/orwelldevcpp/) program.

If you want to be able to run the code in Command Prompt/ Powershell, you will have to make sure that the GCC compiler is installed in your system. Running `gcc -v` can help you check what version (if installed) you have. If gcc is not installed you can download and install the [MinGW](https://sourceforge.net/projects/mingw/) fork of GCC


* ##### Linux
* Arch
```sh
sudo pacman -S gcc
```
* Debian/ Ubuntu
```sh
sudo apt install gcc -y
```
* Redhat/ Fedora
```sh
yum install gcc -y
```

### Installation

1. Clone the repo
```sh
git clone https://github.com/yazninja/CCPROG2MP.git
```
2. Change directories to the Machine Project
```sh
cd CCPROG2MP
```
2. Compile using gcc and run*
* GE03
```sh
gcc -Wall GE03/GE03-23.c -o GE03/GE03-23 && ./GE03/GE03-23
```
* MP1
```sh
gcc -Wall MP1/C1-18.c -o MP1/C1-18 && ./MP1/C1-18
```
* MP2
```sh
gcc -Wall MP2/MP2-18.c -o MP2/MP2-18 && ./MP2/MP2-18
```
* MP3
```sh
gcc -Wall MP3/main-18.c -o MP3/main-18 && ./MP3/main-18
```

\* for Windows users, change `/` in accessing directories with `\` also run the code without the `./` at the beginning.

## Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. As this project is done for class purpose, you can fork the repo if you want as I will keep the original as master. Though any contributions you make are **greatly appreciated**.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## Contact

Twitter - [@yazninjaa](https://twitter.com/yazninjaa)

Project Link: [https://github.com/yazninja/CCPROG2MP](https://github.com/yazninja/CCPROG2MP)

[contributors-shield]: https://img.shields.io/github/contributors/yazninja/CCPROG2MP.svg?style=for-the-badge
[contributors-url]: https://github.com/yazninja/CCPROG2MP/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/yazninja/CCPROG2MP.svg?style=for-the-badge
[forks-url]: https://github.com/yazninja/CCPROG2MP/network/members
[stars-shield]: https://img.shields.io/github/stars/yazninja/CCPROG2MP.svg?style=for-the-badge
[stars-url]: https://github.com/yazninja/CCPROG2MP/stargazers
[issues-shield]: https://img.shields.io/github/issues/yazninja/CCPROG2MP.svg?style=for-the-badge
[issues-url]: https://github.com/yazninja/CCPROG2MP/issues
[license-shield]: https://img.shields.io/github/license/yazninja/CCPROG2MP.svg?style=for-the-badge
[license-url]: https://github.com/yazninja/CCPROG2MP/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555