macross@portia.Stanford.EDU (Chris Adamson) (02/18/91)
Hi. I recently downloaded the Sozobon C compiler and dlibs library from panarthea, and while everything seems to go pretty smoothly, I'm having tons o' trouble with the routines in <time.h>. In short, any call to ctime() gives me a two-bomb crash, and I can't seem to declare a pointer to type tm to use asctime() -- no matter what I include or what's extern, I get "struct tm undefined" compile-time error (and all the subsequent "undefined" errors). I haven't done any serious C programming for a few years, so feel free to e-mail me any patronizing you might think of... it's probably right. --Chris Adamson (macross@portia.stanford.edu) P.S. FYI, I'm just trying to write a teeny-tiny little program to input the date and time via stdio and set the clock (w/out having to load the control panel or buy a clock card).