![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Location: Orlando, FL
Posts: 8
Rep Power: 0
![]() |
Quick C question [solved]
in ANSI C, if I have
while ()
if()
if()
break;will "break;" break out of the while() or the "if" ? Last edited by ridley; Feb 25th, 2005 at 8:10 PM. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
break closes the current loop control structure (while or do), not if's or anything else
![]()
__________________
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Feb 2005
Location: Orlando, FL
Posts: 8
Rep Power: 0
![]() |
Thanks
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|