home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4193 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!mcsun!Germany.EU.net!uniol!Ralf.Wirth
  3. From: Ralf.Wirth@arbi.informatik.uni-oldenburg.de (Ralf Wirth)
  4. Subject: Re: Bug in GCC / OS 2 ??
  5. Organization: University of Oldenburg, Germany
  6. Date: Thu, 13 Aug 1992 11:21:58 GMT
  7. Message-ID: <1992Aug13.112601.5013@arbi.Informatik.Uni-Oldenburg.DE>
  8. References: <1992Aug13.094911.49327@news.th-darmstadt.de>
  9. Keywords: GCC
  10. Sender: news@arbi.Informatik.Uni-Oldenburg.DE
  11. Lines: 29
  12.  
  13. rb532@rbhp17.rbg.informatik.th-darmstadt.de () writes:
  14.  
  15. >Hi.
  16.  
  17. Hi!
  18.  
  19.  ...
  20.  
  21. >(perhaps ther are some syntax Errors now, but this doesn't matter)
  22. >I compile this program with GCC 2.1.
  23. >The result is an executable file.
  24. >I run it, and it asks for input, until I press X, and then prints 
  25. >"begin of program", then prints the digits, and then prints the "end"
  26. >why is this disorder ?
  27.  
  28.  
  29. You just have to set the input buffer to 0 bytes. the function is somewhere
  30. in stdio.
  31.  
  32. -- 
  33. *****************************************************************************
  34. *                                                                           *
  35. * Name: Ralf Wirth                                                          *
  36. * Job : Student of computer science/Wizard of Nightfall (Veltins).          *
  37. * Login : Henry@Aragorn, Henry@Schrottpollo                                 *
  38. * E-Mail Address: Ralf.Wirth@arbi.informatik.uni-oldenburg.de               *
  39. * ------------------------------------------------------------------------- *
  40. * No, I'm not related to him.                                               *
  41. *****************************************************************************
  42.