home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19171 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  880 b 

  1. Path: sparky!uunet!van-bc!tradent!lord
  2. From: lord@tradent.wimsey.bc.ca (Jason Cooper)
  3. Newsgroups: comp.lang.c
  4. Subject: ** Ack!  Help again! **
  5. Message-ID: <kaNTwB1w165w@tradent.wimsey.bc.ca>
  6. Date: Sun, 03 Jan 93 14:07:07 PST
  7. Organization: TradeNET International Trade Corp.
  8. Lines: 14
  9.  
  10. Well, I've solved the previous problem I posted.  It wasn't anything 
  11. difficult, really.  I am now having trouble with console input.  Every 
  12. time I use scanf or gets, and I ask for more than one input of a string 
  13. in a row, like this:
  14.  
  15. gets(string1)
  16. gets(string2)
  17.  
  18. or however that works (the point being they are seperate lines), C will 
  19. skip some of the inputs for apparently no reason at all.  Could someboy 
  20. help me out here (oops, someBODY)?  I can't seem to find a method of 
  21. inputting strings that won't go and do that to me.
  22.  
  23.                                                 Jason Cooper
  24.