home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_06
/
8n06074b
< prev
next >
Wrap
Text File
|
1990-05-01
|
350b
|
16 lines
*****Listing 6*****
show_record(p_a_record)
/* Prints out a record, whose address is passed */
struct s_record *p_a_record;
{
int i;
char *pc;
pc = (char *) p_a_record;
for (i=0; i < NUMBER_FIELDS; i++)
{
printf("%s\n", pc + record_offsets[i]);
}
}