home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
EVENTS
/
TBANK108.ZIP
/
TBSAFE.C
< prev
Wrap
C/C++ Source or Header
|
1993-03-16
|
416b
|
17 lines
#include <stdio.h>
#include <dos.h>
#include "vardec.h"
userrec *u;
configrec *c;
void main()
{
printf("\n\n");
printf("Used Offset is %d \n",FP_OFF(&(u->timeontoday))-FP_OFF(u->name));
printf("Time Offset is %d \n",FP_OFF(&(u->extratime))-FP_OFF(u->name));
printf("Gold Offset is %d \n",FP_OFF(&(u->gold))-FP_OFF(u->name));
printf("Record Length is %d \n",sizeof(userrec));
}