cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
need to add colon in time
need to add colon in time
Apr 7, 2011 at 2:31am UTC
trc0267
(1)
i have char eventTime[6] and read in a 4 digit number to it. i need to take that 4 digit number as 24 hour time check it against the rules of 24 hr time and then sent it to a file with a colon between the first and second numbers.
Apr 7, 2011 at 3:46am UTC
Azagaros
(410)
which language? c or c++
char
eventTime[6];
how is the data getting to me? what form is it? Each has a different approach.
Apr 7, 2011 at 2:32pm UTC
lordmat
(30)
What code do you have so far?
What exactly do you need help with?
Topic archived. No new replies allowed.