query regarding swtich case

Reply

Join Date: Sep 2004
Posts: 7,630
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 718
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: query regarding swtich case

 
1
  #11
Dec 18th, 2007
>I don't agree with U.
You can disagree all you want, but you're still wrong.

>u can search "fflush" in MSDN!
MSDN doesn't define the standard library, the C standard does. And the C standard says that calling fflush on an input stream is undefined. If your compiler happens to support an extension that allows fflush(stdin) , feel free to use it. But until this forum is renamed to "C for Beair.GQ's compiler", you'll be promptly corrected if you try to encourage undefined behavior with constructs like that.

>and it's give the example like this:
MSDN's examples are well known to be examples of what not to do. The code you posted is broken in four places, has three instances of non-portable constructs, and three instances of non-portable usage. Using MSDN to back up your claims is a folly.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 10
Reputation: Beair.GQ is an unknown quantity at this point 
Solved Threads: 2
Beair.GQ Beair.GQ is offline Offline
Newbie Poster

Re: query regarding swtich case

 
1
  #12
Dec 18th, 2007
hoho,I am sorry for my naive.
i am chinese,what i want is learning english,and make friends with whom i want.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC