Search:

Type: Posts; User: kl3pt0.2256

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,362

    I'm not trying to print the elapsed time though,...

    I'm not trying to print the elapsed time though, I just want the system time to print to the file every 5 minutes.
  2. Replies
    4
    Views
    1,362

    Need help with time() function.

    I'm currently using the following code to print the current system time to a file:



    FILE *file;
    time_t ltime;
    ...
  3. Replies
    2
    Views
    1,546

    The thing is though, I'm using time() for the...

    The thing is though, I'm using time() for the timestamp, and in order to do that, I need to have the asctime(localtime(&ltime)), so how do I create the asctime() function. Am I able to do it like...
  4. Replies
    2
    Views
    1,546

    Need help printing time to a file.

    Hello everyone, I have been trying to figure out how to write the current system time to a file. I came across this code:



    int main()
    {
    time_t ltime;
    ltime=time(NULL);...
Results 1 to 4 of 5