www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/05/13:36:07

From: aflcs AT uno DOT edu
Newsgroups: comp.os.msdos.djgpp
Subject: gets amd scanf
Date: 3 Sep 1997 12:37:13 GMT
Organization: University of New Orleans
Lines: 12
Message-ID: <5ujllp$gu2$1@www.uno.edu>
Reply-To: aflcs AT uno DOT edu
NNTP-Posting-Host: jazz.ucc.uno.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to read in a string with gets();

This works fine if it appears before any other input statements,
but if it appears after some scanf calls, then gets does not wait
for any input.

Is there some buffer I have to clear?




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019