>> 1. Download, compile, and run the application found here:
>>   http:[EMAIL PROTECTED]/msg02089.html

Not having any clue what I'm doing (I know no C), I copied and pasted the
code with vi, named the file "test.c", ran the command in the email, and go
the following:

 [disobey:~/Desktop] morbus% cc -o test test.c
 test.c: In function `main':
 test.c:6: warning: return type of `main' is not `int'

Repeating said lack of clueness, I don't know what to do next:

 1 #include <sys/types.h>
 2 #include <stdio.h>
 3 #include <time.h>
 4
 5 void main()
 6 {
 7    int strsize = 255;
 8    time_t timeAsNumber;
 9    struct tm *temp;
10    char str[256];

-- 
Morbus Iff ( i am the sexy techgeek )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Tech: http://www.oreillynet.com/pub/au/779 - articles and weblog
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Reply via email to