Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
Convert String to integer ( hh/mm/ss )
Convert String to integer ( hh/mm/ss )
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
justin146s
New Member
Join Date:
Jul 2014
Posts:
2
#1
Convert String to integer ( hh/mm/ss )
Jul 9 '14, 02:15 PM
Hi i need to convert below value char *time="00.00.05 "
i need to convert this to hh/mm/ss .... if anyone tell the logic pls....
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#2
Jul 9 '14, 03:30 PM
00.00.05 is not a char value and hh/mm/ss is not an integer.
What are you trying to do?
Comment
Post
Cancel
divideby0
New Member
Join Date:
May 2012
Posts:
131
#3
Jul 9 '14, 06:02 PM
I think the op is wanting to parse the string to extract the integer values. if so,
sscanf
should work.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment