CS371p Fall 2020 Week 4: Kevin Gao

What did you do this past week?

Kevin Gao
2 min readSep 21, 2020

I learned about exceptions, and how they are essentially objects and obey the laws of inheritance, strcmp, and how C++ represents the default string type as a “c string” and otherwise represents them as char arrays (pointers) and also voting. To be honest, I didn’t really understand what Australian voting was, but the quiz was pretty straightforward about identifying losers and winners, so that you can break tied ballots. All in all productive week.

What’s in your way?

I need to get started on the next project and understand how it relates to voting. I also need to get ready for Career Fair and apply to a ton of companies in hopes of clinching an internship. I think this will be a tough week, and I will need to have a good sleep schedule and everything in order to perform this time around.

What will you do next week?

Getting ready for Career Fair will be a big part of next week. I also need to get started with my partner, Roger, on Project 2 so that we can finish quickly and iron out any unfortunate circumstances we may come across.

What was your experience of exceptions, voting, and strcmp? (this question will vary, week to week)

My experience with these three topics was decent and Dr. Downing explained them well, as per usual.

What made you happy this week?

My family and I went out and enjoyed some semblance of normalcy again by eating out at a ramen place nearby and getting milk tea. It was a literal and figurative breath of fresh air. It’s amazing what good food and family can do for your mentality.

What’s your pick-of-the-week or tip-of-the-week?

I have a Linux subboot on my Windows laptop, and often when I switch from Linux to Windows, the time gets desynced. This issue has always bugged me, and I fixed it by typing timedatectl set-local-rtc 1 into the terminal which fixed the issue for me. It forces the time to be set locally, and won’t mess with your computer’s time after switching operating systems.

--

--