Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

請問一下有關switch

0 views
Skip to first unread message

不執著的平衡點

unread,
Oct 12, 2002, 10:40:29 AM10/12/02
to
※ 引述《XW...@kkcity.com.tw (Libra(Boy))》之銘言:
> ※ 引述《nexu...@bbs.cs.nthu.edu.tw (不執著的平衡點)》之銘言:
> 通常在switch中的case中宣告變數時,就會有這樣的警告訊息。
> 如果要避免這樣的警告訊息的話,可以將在case中的所有陳述句用大括號括起來。
> 例如:
> switch( ... )
> {
> case 1:
> {
> <statements>;
> }
> }

3Q~~~~

compiler過ㄌ^^
--
※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: 140.116.101.142

0 new messages