|
-
Sep 28th, 2001, 08:52 PM
#1
Exit Do, Exit Function...
I know that they have that in VisualBasic but what is the equivalence in C++ ?
-
Sep 28th, 2001, 09:39 PM
#2
break = Exit <loop/switch>
return = Exit <function/loop/switch>
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Sep 29th, 2001, 05:39 AM
#3
Frenzied Member
Also there is the continue keyword.
continue;
The continue keyword passes control to the next iteration of the smallest enclosing do, for, or while statement in which it appears
-
Sep 29th, 2001, 10:41 AM
#4
ok thx you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|