Does anyone know how to solve it?

done
Last edited on
you're going to have to at least attempt to write something.
then you can ask some more specific questions.
done
Last edited on

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.