/LSD_C_LAB_S2

This repository will contain the correction of the exercises in our C_LAB sessions for tp S2

Primary LanguageC

LSD_C_LAB_S2

This repository will contain the correction of the C language sessions, also will used by students to reviews their code by forking the repository and use the template of the exercises for assignment.

Requirements

First you will need GCC and GIT to be installed on your machine. Use this command to install GIT on Ubuntu:

> sudo apt install git

For Mac os:

> brew install git

Use this command to install GCC on Ubuntu:

> sudo apt install build-essential

For Mac os:

> brew install gcc

Manual pages about using GNU (additional):

> sudo apt-get install manpages-dev

How to use the template

First of all you need to fork the repository. Then you can use the command below to clone the repository to your local machine: PS: you need to change YOUR-USER-NAME in the github link with your Github username.

> git clone https://github.com/YOUR-USER-NAME/LSD_C_LAB_S2.git

Then go to the correction folder and start working :

> cd LSD_C_LAB/TP1

If you want to push a change that you made to your repository follow these steps: First, you need to tell Git who you are:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Add the files that you changed :

git add *

Commit your changes :

git commit -m "a comment about your changes"

Push your changes :

git push