Week 4

What's going on this week

  • The TAs are reporting examples of hard-coding, just returning the answers to known test cases, to solve the test problems. You goal is to write a solution to the problem as described, not just give back the output for the known test input. The TAs will be looking a the code for this and you will lose points if you do this.
  • Deadlines:
    • Pre-lab, before 02/08 (Thur) at 11:59 pm (23:59)
    • Lab, for online students, 02/09 (Friday) at 5:00 pm (17:00).
    • Project, before 02/12 (Mon) at 11:59pm (23:59).




Please go to D2L , Login and do the prelab. It is listed on your calendar.


lab4 .

Except for online students you can wait to do this during your scheduled lab. We think that is a benefit of being in a scheduled section, working with other people to solve problems.

Project 04

Project 4 .


example code


Uploading to Mimir

We again remind you about doing development locally (x2go, Xcode, VStudio, whatever) and repost the video on how to upload to Mimir. Remember this If you develop locally and upload, resist the temptation to edit on Mimir. You can easily get confused as to which is the "right" version.


Operations on characters
What is the STL
Intro to strings
String input
String ops
Range based for
String find
Lychrel Number Example

© Michigan State University 2017