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