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

How to convert to String ?

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



Joined: 06 Dec 2006
Posts: 102
Location: Montreal , Canada

View user's profile Send private message

How to convert to String ?
PostPosted: Wed May 02, 2007 9:35 am     Reply with quote

hi guys any easy way to do it ???

i have 3 counter HH MM SS they all go from 0 to 99 , i need to convert them to string to send it to a matrix display !!

i would like it to be as timer[] ="00:00:00" with leading 0

Thanks
Ttelmah
Guest







PostPosted: Wed May 02, 2007 10:07 am     Reply with quote

Read the manual on 'sprintf'.

Best Wishes
mindstorm88



Joined: 06 Dec 2006
Posts: 102
Location: Montreal , Canada

View user's profile Send private message

PostPosted: Wed May 02, 2007 11:09 am     Reply with quote

Thanks Ttelmah , i had overseen that one Embarassed !!!
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