User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 402,466 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,926 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums

Need help on my assignment !!! - about file streams :((

Join Date: Oct 2006
Location: the Netherlands
Posts: 1,630
Reputation: niek_e is just really nice niek_e is just really nice niek_e is just really nice niek_e is just really nice 
Rep Power: 8
Solved Threads: 168
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: Need help on my assignment !!! - about file streams :((

  #14  
May 15th, 2008
That's very strange... AD is right a getchar() should do the trick.
Try replacing the getchar() with:
while(getchar()!='q'){}
Now you'll have to enter a 'q' and 'enter' to quit
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
All times are GMT -4. The time now is 4:03 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC