|
From: Michael C U. <mu...@cb...> - 2003-12-27 02:12:09
|
On Sat, 27 Dec 2003, [ISO-8859-1] OROSZI Bal=E1zs wrote: > Because then the variables will be inside the CASE, not in the SWITCH, > and they only get allocated, if that specific CASE is selected, not > every time the program enters the SWITCH. Ah. Ok. I see now. I thought the compiler would just ignore it because if CASE was false, the statements inside that case statement wouldn't even be evaluated. But, yes. I see what happens now. It won't even compile without the braces if they are declarations inside the case. > > -- > Greetings, > Bal=E1zs > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |