TR 3:30 - 4:45 pm Arts & Sciences (CAS) 136
Week 2 Class 2 Tue Jan 20 Posted: Jan 20
After Class
I posted a feedback report, Report1.md, in your repository under the branch feedback. I strongly suggest looking at it on GitHub:
I posted the scores and any additional comments in Brightspace
Points were taken off for:
Also, do not use term "assignment" or "exercise" in your code. We simulate working on real code.
If you have spacing or wording to fix, you can fix them. However, these commits must start with the word "Fix". Not "Fixing", "Fixed", or "fix", but "Fix".
Special Announcement
Our class will meet online today in Teams. During the meeting, please be muted, but leave your camera on if possible.
Our Team is CPSC 421-020 OOP 3:30 - 4:45 pm. You should see the meeting in your calendar. There is also a direct meeting link in Brightspace. If you have any problems, send a chat message in Teams or an email.
Announcements
Grades Exercises 1 - 4 are in Brightspace. Read the feedback.
Future exercise posting to Brightspace will not be announced. Delays will be.
Agenda
Exercise 5: Statement Design Quiz
You can follow along and see the commits that I make in class:
If you have any questions or issues, make sure to contact me.
Unless otherwise noted, exercises are due by 3:30 pm on Wed Jan 21
Take the starting rainfall.cpp code and make the changes that I make in class. This means the exact same code changes and exact commit message.
Your code is in a repository from GitHub Classroom:
Environment
Local
This would be on your own machine with local files.
First, you need to authenticate your local environment with GitHub: Guide: GitHub Authentication. This only has to be done once per environment, e.g. WSL on Windows.
Then you clone the repository. Cloning creates a local repository that is a copy of your repository at GitHub.
You can get the repo link from the button <> Code on GitHub, then under Local and HTTPS.
Cloning a repository creates a directory with the name of your repository, e.g., _rainfall-
GitHub Codespaces
GitHub Codespaces provides a development environment in the browser. When you create one from your GitHub Repository, you are already authenticated with GitHub and have a cloned repository, so you can start working right away.
You can start a Codespace from the <> Code button on GitHub, then under Codespaces.
Build Setup
Git Workflow on Rainfall
Note Your code must build and compile. If you have a build warning or error, fix these before making any more changes to the code.
Note You must commit each change that I make separately and use the exact commit message that I use in class
TA: Mr. Sumaila Iddrisu si63@uakron.edu