question!!

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Dec 2007
Posts: 16
Reputation: bis student is an unknown quantity at this point 
Solved Threads: 0
bis student's Avatar
bis student bis student is offline Offline
Newbie Poster

question!!

 
0
  #1
Jan 24th, 2008
I want to know what is the differnt between continue and the break ?
there are always hope
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,758
Reputation: Lerner is a name known to all Lerner is a name known to all Lerner is a name known to all Lerner is a name known to all Lerner is a name known to all Lerner is a name known to all 
Solved Threads: 283
Lerner Lerner is online now Online
Posting Virtuoso

Re: question!!

 
0
  #2
Jan 24th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 233
Reputation: JRM will become famous soon enough JRM will become famous soon enough 
Solved Threads: 14
JRM's Avatar
JRM JRM is offline Offline
Posting Whiz in Training

Re: question!!

 
1
  #3
Jan 24th, 2008
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!
"I like beating by head against the wall because it feels so good when I stop"
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 482 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC