![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Posts: 52
Rep Power: 4
![]() |
switch statement
just a quick question about switch statements. is it true that you always have to use break; at the end of each case in a switch statement? Someone was trying to explain a way to me where you don't but every text book i've read says you must.
|
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with a switch | Varrickmana | C++ | 11 | May 22nd, 2006 7:34 PM |
| Trouble with a swith statement | cjaime | C | 10 | Nov 8th, 2005 12:09 PM |
| New Switch, FTP Problems | ViOLATiON | Coder's Corner Lounge | 6 | Sep 13th, 2005 2:44 PM |
| Multiple IF statements, perhaps? | foxcity911 | PHP | 7 | Jun 22nd, 2005 4:33 PM |
| Switch statement | Hellion | C++ | 5 | Apr 11th, 2005 8:51 AM |