Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SoftC Database Library v2.1 Guide - usage http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
USAGE
   int sccti2s(
           char *string,
           int format,
           int hours,
           int minutes,
           int seconds );

PROTOTYPE IN
   sc_clock.h

DESCRIPTION
   sccti2s converts three integer time values hours, minutes, and
   seconds into an ASCIIZ string string of the string style format.
   A check is made to verify that string is a valid time string before
   exiting.

   Time string styles:
   SC_CSHMS   hh:mm:ss
   SC_MIL     military (0000-2359)

EXAMPLE
   #include <stdio.h>
   #include <softc.h>
   #include <sc_clock.h>

   void main()
   {
     char d[9];

     sccti2s(d,SC_GREGOR,12,3,59);
     puts(d);
   }

See Also: scctsvalid sccts2i

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson