CPSC 421-010 Object-Oriented Programming (OOP) Spring 2023

Exercise Rainfall I

Take the starting rainfall.cpp code and make the same changes that I make in class.

Your code is in a repository from GitHub Classroom:

  1. Log in to your GitHub account.
  2. Click on the invitation link (GitHub Classroom Rainfall) on the main course page in Brightspace.
  3. Follow the directions to link your GitHub account to your UA ID.

Then you clone the repository. Cloning creates a local repository that is a copy of your repository at GitHub.

Now to setup the build:

Git Workflow on Rainfall

  1. Edit files locally, e.g., add a header comment to the file rainfall.cpp
  2. Build, run, and check your work
  3. View your changes
  4. Commit current changes to the local repository:
  5. Push your local commits to the GitHub repository:
  6. View and verify your changes at GitHub in your browser
  7. View your commits locally

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

You can follow along and see the commits that I make in class:

OOPS23-Rainfall-010

If you have any questions or issues, make sure to contact me.