home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11631 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.2 KB  |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!news.cs.indiana.edu!uceng.uc.edu!ucunix.san.uc.edu!schectr
  3. From: schectr@ucunix.san.uc.edu (ROBB SCHECTER)
  4. Subject: URGENT HELP NEEDED:  crash upon redirection...
  5. Message-ID: <1992Jul27.041134.15483@ucunix.san.uc.edu>
  6. Organization: University of Cincinnati
  7. Date: Mon, 27 Jul 92 04:11:34 GMT
  8. Lines: 19
  9.  
  10. Hello everyone; this homework is do Monday at Midnight, so if anyone
  11. can offer an idea.
  12.  
  13. -The symptoms-
  14.    * Program runs fine on PC (Quick-C in ANSI compatible mode).
  15.    * Core dumps on UNIX gcc.
  16.    * Program reads in from a 3-line file using scanf(), then getchar().
  17.    * I NOTICED: If I just type in the file instead of redirecting input,
  18.      -> it runs fine <-
  19.  
  20. -> I am too inexperienced with C on UNIX (and gcc) to know if I'm doing
  21.    something obvious, or even where to look for errors.
  22.  
  23.    Thanks in advance for timely advice!!!   - Robb
  24. -- 
  25. ---------------------------------------------------------------------------
  26. Robb Shecter        University of Cincinnati      schectr@ucunix.san.uc.edu
  27.                                                   ^^^^^^^
  28.                  My university cannot spell my name...
  29.