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-010 OOP 2:00 - 3:15 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
After Class
Class on Thursday, Jan 20 will be online in Teams.
You should see a meeting in your Teams Calendar. The name of our Team is _CPSC 421-010 OOP _.
I will also post a direct link in Brightspace.
Agenda
Campus is closed today, so no class.
I am not holding office hours, but am available for questions via email.
In in place of a class meeting, complete the following:
g on the slide page a Jump to slide appears so you can go directly to that slide.CMake & Ubuntu Versions
As stated in the Development Environment: Tools the cmake version must be 4.2.1 or higher. Some of you have less recent versions, even though the instructions stated you need to be at 4.2.1 for cmake. Follow the instructions to install the APT repository from Kitware (CMake people).
For Linux, upgrade your Ubuntu using:
You should also be on Ubuntu 24.04, not an older version. To convert, first upgrade as above, then enter the command:
Use the Development Environment: Tools to check your versions.
If you make any of these changes, then edit or fill out a new survey.
Week 1 Class 1 Tue Jan 13 Posted: Jan 13
Announcements
GitHub We use GitHub and GitHub Classroom in the class to manage source code for projects, exercises, and examples. You are required to have a GitHub account.
Optionally, you can apply for the Student Github Developer Pack and get a free GitHub Pro account. To apply, your account email can be a school account, or a personal account if you upload documents to prove your current enrollment status.
git commands to do so.g++ and cmake, so avoid relying on them.O'Reilly Online Learning The course textbook is available in O'Reilly Online Learning.
You do not have to be on the campus network (e.g., via VPN) to access O'Reilly Online Learning.
To access content, click the "Institution not listed?" link below the dropdown and enter your UA email. You will then create an account and use that account from now on.
For more information: Library LibGuide
Agenda
Exercise 2: Syllabus Crossword
Exercise 3: Development Environment Survey
The survey is available from the link of this exercise. There is nothing to upload to Brightspace.
This exercise is due by 1 pm on Thu, Jan 15.
Unless otherwise noted, exercises are due by 3:30 pm on Wed Jan 14
Greetings and welcome to CPSC 421 Object-Oriented Programming for Spring 2026.
GitHub In the class, we use GitHub and GitHub Classroom to manage source code for projects, exercises, and examples. You are required to have a GitHub account.
Optionally, you can apply for the Student Github Developer Pack and get a free GitHub Pro account. To apply, your account email can be a school account or a personal account if you upload documents to prove your current enrollment status.
See you on Tuesday, Jan 13 at 2:00 - 3:15 pm in Arts & Sciences (CAS) room 136