Does anyone know how to solve it?

Apr 16, 2014 at 7:28am
done
Last edited on Apr 16, 2014 at 9:40am
Apr 16, 2014 at 7:34am
you're going to have to at least attempt to write something.
then you can ask some more specific questions.
Apr 16, 2014 at 7:38am
done
Last edited on Apr 16, 2014 at 9:40am
Apr 16, 2014 at 7:44am

A WeekDays object should be able to store an array of strings


so it looks like you need to replace your line 8 with
 
std::vector<std::string> days;

if you can use vectors, or something like
 
std::string days[7];

if you can't.
Topic archived. No new replies allowed.