Week 7

What's up this week

  • The description in the pdf and the header didn't match. In particular, the read_vector function needs a string, a file to open. Both the header and description are in sync now. My apologies for the confusion. (10/18 7:30 am).
  • You are working on project 6 this week.

Readings

readings

Prelab

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

Lab

lab7 .

Project 06

Project 6 . It is due on Mimir by midnight, Oct 23rd.

Examples

example code

Videos

Exceptions and Asserts

Asserts
Try-except 1
Try-except 2
stoi example

String Streams

string stream type
using stringstreams
example with files, exceptions, sstreams

Iterators

Intro to STL Iterators
Using Iterators
Some variatons on Iterators

© Michigan State University 2017