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.
First you will need GCC and GIT to be installed on your machine. Use this command to install GIT on Ubuntu:
> sudo apt install gitFor Mac os:
> brew install gitUse this command to install GCC on Ubuntu:
> sudo apt install build-essentialFor Mac os:
> brew install gccManual pages about using GNU (additional):
> sudo apt-get install manpages-devFirst 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.gitThen go to the correction folder and start working :
> cd LSD_C_LAB/TP1If 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