Search:

Type: Posts; User: c99tutorial

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,162

    This is a good suggestion. The time.h defines a...

    This is a good suggestion. The time.h defines a struct tm which includes members for years, months, days, etc. Then the functions you need are

    strftime(3): format date/time - Linux man page...
  2. Replies
    6
    Views
    3,162

    It might help to first write a program which is...

    It might help to first write a program which is basically the same but simpler -- write a program that asks the user for simple integers until the user enters the special integer -999. Afterwards,...
Results 1 to 2 of 2