Week 4

What's going on this week

  • First midterm is next week, Tue, 7pm-8:30pm in ANH 1281
  • We sent a warning on piazza about hard-coding your code 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.
  • Information about the Honors option is posted on the 232 front page.
  • Final exam date has been provided, and it is listed on the 232 front page. I'll let you know when we get a room assigned. If you plan on traveling for the Christmas holidays, make sure you schedule your travel around the exam date.
  • Deadlines:
    • Pre-lab, before 9/28 at 11:59 pm (23:59)
    • Lab, for online students, 9/29 at 3:00 pm (15:00).
    • Project, before 10/02 at 11:59pm (23:59).




Please go to D2L , Login and do the prelab. It is listed on your calendar. It must be completed before midnight on Thur, 9/28.


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 . It is due on Mimir by midnight, Oct 2.


example code


Uploading to Mimir

You might start thinking about doing development locally (x2go, Xcode, VStudio, whatever) and if you do, this is how you upload and get tested on 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