Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/14/05 23:59
Read: times


 
#94976 - Beware scanf()
Responding to: ???'s previous message
This topic is cross-posted here:

http://www.keil.com/discuss/docs/thread6102.htm to which I answered here regarding scanf():

http://www.keil.com/discuss/d...m#msg27429

I think that an (arguably) more conventional means of dealing with user input is to use a simple means of string input (e.g., repetitive getchar()'s until r) and then parsing the string with sscanf() (or whatever).

Sidenote: Hmm, several "means" in there -- I should be a patent attorney.


List of 9 messages in thread
TopicAuthorDate
Hyperterminal doesn't obey !            01/01/70 00:00      
   hyperterminal            01/01/70 00:00      
      Or            01/01/70 00:00      
      External Board ...            01/01/70 00:00      
         Doing what it says on the tin!            01/01/70 00:00      
         Beware scanf()            01/01/70 00:00      
      Like this            01/01/70 00:00      
   Serial comm with dot matrix display            01/01/70 00:00      
      Off-Topic?            01/01/70 00:00      

Back to Subject List