This is an individual assignment.
The purpose of our first assignment is to make sure everybody is able to set up a working environment and to familiarize yourself with the terminal, shell, and the C compiler, as well as the process of submitting deliverables. As such the steps are identical to Lab 1. Read through the description of Lab 1, on Canvas, or after accepting the Classroom assignment. Complete all the steps in the lab, and submit the Deliverables below. None of the deliverables here should take more than a few minutes to (re-)create.
Note: If you have trouble connecting to login.khoury.northeastern.edu
or something else doesn’t work, let us know. Our hope is for everybody get full score on this one.
Set up access to your Github repositories on Khoury Login and locally
Run at least 10 Linux commands
Modify hello.c
in two steps, creating a new Git commit for each.
a) Modify the provided program so it prints: your first name followed by a newline and your email address followed by a newline.
Recompile the program and make sure it runs. Commit and push the file to your Github repository.
b) After skimming through a C tutorial, make the program print your name and email address 20 times using a for loop.
output.txt
(no capitalization, exactly as named.)
hello.c
in your repository as instructed in Lab 1.
hello.c
after you have made it print your name and e-mail.
editor.png
or editor.jpg
.repo.png
or repo.jpg
.
Finally, go to Gradescope and submit a ZIP of your repository. The easiest way to do that is to go on Github and use the “Download ZIP” link under “Code” (see image). You may also connect your Github account to Gradescope and submit directly by pulling from your Github repository. Let us know if you have trouble with any of the steps.