Search:

Type: Posts; User: fe344

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,715

    The result is Epoch=Wed Dec 31 19:00:00 1969 ...

    The result is

    Epoch=Wed Dec 31 19:00:00 1969

    Now, what shall I do?
  2. Replies
    5
    Views
    4,715

    OK! But the problem is not in mktime(). The...

    OK!

    But the problem is not in mktime(). The problem is with difftime(). The program give correct result for date 1937 and after that (for example, 13-NOV-1937). But when the difference between two...
  3. Replies
    5
    Views
    4,715

    Seems that nobody can find a solution to this...

    Seems that nobody can find a solution to this problem!!!
  4. Replies
    5
    Views
    4,715

    Help: using time difftime function

    Hi,

    I have written a function to check if the age of a person is more than 65. The function works fine for BirthDate 1937 and after. But for dates before 1937, the difftime output overflows, and...
  5. Replies
    4
    Views
    1,331

    I changed the medico.h file as below: extern...

    I changed the medico.h file as below:


    extern int INSERT_MODE;
    extern int INQUIRY; /* will be true or false */
    extern int PRINT_HARD_COPY; /* hard copy...
  6. Replies
    4
    Views
    1,331

    scr_name is a variable defind in (and only in!)...

    scr_name is a variable defind in (and only in!) medico.h as followed:


    char * scr_name[MAX_SCREEN_CNT] = {
    "ERROR"
    ...


    and as you may see in the attached makefile, all the .c...
  7. Replies
    4
    Views
    1,331

    HELP: linking several object files

    I want to link some object files. I use the attached "makefile", but I got the following error when making the executable file:

    UX:ld: ERROR: Doctors.o: fatal error: symbol `scr_name`...
Results 1 to 7 of 7