943,954 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 596
  • C++ RSS
Jan 24th, 2008
0

question!!

Expand Post »
I want to know what is the differnt between continue and the break ?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bis student is offline Offline
16 posts
since Dec 2007
Jan 24th, 2008
0

Re: question!!

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
Reputation Points: 718
Solved Threads: 373
Nearly a Posting Maven
Lerner is offline Offline
2,253 posts
since Jul 2005
Jan 24th, 2008
1

Re: question!!

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
Reputation Points: 130
Solved Threads: 75
Practically a Master Poster
JRM is offline Offline
618 posts
since Oct 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Assigning variables from csv files..
Next Thread in C++ Forum Timeline: error C2447: '{' : missing function header (old-style formal list?)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC