Lab 1 - C Pointer Refresher
Lab goals:
- Refresh your memory from COMP 222 about using GitHub, CLEAR9, and C.
- Provide practice using Pointers in C.
Getting Started
We will use GitHub, GitHub Classroom and CLEAR9, just as you did in COMP 222. We recommend you do the following:
-
Review the information on
GitHub and CLEAR9
from COMP 222.
- Please link your NetID to your GitHub account when you follow the below GitHub Classroom link.
-
Remove your
.vscode-server
directory on CLEAR9 to remove any cruft you have left over from COMP 222:- Login to CLEAR9 from a terminal window, not VSCode
-
On CLEAR9, run the command:
rm -rf .vscode-server
Resources
Submission
For this lab and all labs in this course, at the end of your scheduled lab session, you should "submit" your work (regardless of how much your completed) using git push.
You should always include in your repo all files that
you created in the lab, other than those (such as the output of
the compiler) generated automatically from other files. Think of this as
including just the files necessary to backup and to be able to recreate
your work.
Do not
simply add all files to your repo; for example, do
not simply type something like
git add .
or
git add *
, and never add any object files, executable
files, or core
files to your repo.
Only add the actual source files (for example,
.c and