The file is just a plain test file like so

---
joe             30
larry           20
moe             50
---

Richard Ivanowich
System Administrator
Dryden Internet Services
[EMAIL PROTECTED]
----------
> From: Glynn Clements <[EMAIL PROTECTED]>
> To: Richard Ivanowich <[EMAIL PROTECTED]>
> Cc: linux c programming <[EMAIL PROTECTED]>
> Subject: Re: Reading file in a structure
> Date: Saturday, September 12, 1998 11:43 AM
> 
> 
> Richard Ivanowich wrote:
> 
> > As a newbie programmer i am now looking make a simple database program.

> > This proggy reads file number one then file number two and matches the
two
> > records with the same username then outputs to a file.  What i need to
know
> > is how to read the file into a structure.  How do i do this???
> 
> It depends entirely upon the format of the file.
> 
> -- 
> Glynn Clements <[EMAIL PROTECTED]>

Reply via email to