continue means go the start of the loop ignoring any remaining lines in the loop
break means go to the end of the loop ignoring any further lines or iterations of the loop
Lerner
Nearly a Posting Maven
2,382 posts since Jul 2005
Reputation Points: 739
Solved Threads: 396
Here's a tip
GOOGLE is your friend.
Whenever you have a "lookup" type question,
try Google-ing it first . Enter it like this:
C++ continue
C++ break
You may use this method for any lookup question you may have in the future.
It doesn't even have to be limited to C++ either!
JRM
Practically a Master Poster
621 posts since Nov 2006
Reputation Points: 130
Solved Threads: 75