Dana Vrajitoru
C243 Data Structures

C243/A594 Homework 4

Due date: Wednesday, September 25, 2019.

Ex. 1. Homework correction

Read the comments on Canvas posted on your homeworks 2 and 3 submissions and fix the problems mentioned in those comments. Email me if you need more clarification on any of them.

Ex. 2. a. Git Installation

Install a version of GIT appropriate for your system from < a href="https://git-scm.com/">https://git-scm.com/. From this site, follow on Downloads, then View GUI Clients. For Windows and MacOS, you can download GitHub Desktop. The instructions below will refer to the application GitHub Desktop.

b. Account

Go to the site GitHub and create an account for yourself if you don't have one already. Then sign in to your account. I would recommend to read the guide before doing anything else. Then open your GitHub Desktop application and sign in with the account you have created by going to the File menu, Options.

c. Repository

From the Repository menu, create a new repository from the File menu and call it Canfield.

Files:

If your directory was already called Canfield, then all the files should have been there already and added to the project. Check under History that all the files have been added to the repository.

If not, copy the files from homework 3 to this directory (in the File Explorer). Then go back to Git Desktop, and under Changes, you should see all the files that you added to the folder. After that, click Commit to master to add these files to the repository. Check in the History to see that they have all been added.

Publish repository:

When all the files have been successfully added to the repository, click on Publish repository to create a master copy of the files on GitHub.com. Un-check the box "Keep this repository private for now" to make it available to the public.

d. GitHub version

Go to GitHub.com and login with your account. On the left, under Repositories, you should see the new one that you have just created. Click on it to see the list of files.

Readme file:

Click on the README file created by the Git program in your repository, then on the edit button on the right next to the trash can. (it looks like a pencil). Add a short explanation of what the repository contains, as well as a brief explanation on how to compile and run it. Then add a description of the rules of the game. Leave an empty line between paragraphs.

Further work:

Homework Submission

In the submission text on Canvas - Assignments - Homework 4, provide a link to your GitHub account or to the Canfield repository in your account.