K
Keith Thompson
Flash Gordon said:There is a news group about free news servers...
Which one is that?
Flash Gordon said:There is a news group about free news servers...
Bart Rider said:Any break inside a switch statement is actually assigned to the
switch statement (it leaves the choice statement switch and continues
with the first statement after switch) and not for any surrounding
loop. The same applies to continue IMHO.
Keith said:Which one is that?
Keith Thompson said:Which one is that?
Default said:Many ISPs these days have dropped usenet access, notably AOL.
Mostly dial-ups (in the US) have gotten rid of it, but some
broadband providers. If the OP is unable to get it from the ISP,
then either a free news service (I don't personally know of any)
or a for-pay one will be needed. I use news.individual.net, it
costs 10 euro per year, about $13 US.
'continue' within switch actually associated with the outer 'while'
loop. Is this behavior protable?
int ch = '\n';
while (true) {
switch(ch) {
case '\n': cout << "test"; continue;
}
}
the above loop executed endlessly
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.