Hi,
This:
while (inputGood == false)
can be written:
while (!inputGood)
message.size()
returns a std::size_t
type, so you should use that type for variable i
.
Line 15 is missing a relational operator.
The compiler can tell you about these things, make sure you have warning levels set sufficiently high.
Good Luck !!
Thanks been stuck on it for ages