CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Is sscanf implemented?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dave_t
Guest







Is sscanf implemented?
PostPosted: Tue Apr 01, 2008 5:18 am     Reply with quote

I'm trying to parse a floating point number from a string.

My code that uses sscanf doesn't compile on a PIC18F2523.

Code:
sscanf (buf, "CH%*c %7f", &f)


Is scanf implemented in the CCS compiler?
According to ht tp://ww w.ccsinfo.com/downloads/ansi_compliance.pdf, it is,but I can't find the function in <stdio.h>, which is where I'd expect to find it.

I also found this post:
ht tp://ww w.ccsinfo.com/forum/viewtopic.php?t=20225
Will this work on a PIC18F2523?

Dave
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group