Newsgroups: comp.misc
Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!mauxci!problem!skypod!marc
From: marc@skypod.uucp (Marc Fournier)
Subject: rn file format
Message-ID: <1991Apr14.024245.23227@skypod.uucp>
Organization: Skypod Communications Inc., Toronto, Ontario
References: <1991Apr8.194705.1225@ico.isc.com>
Date: Sun, 14 Apr 91 02:42:45 GMT

Hi Folks,

	I presume someone out there knows the answer to this question...
I'm writing a program that needs to read in the records in .newsrc, but
I'm having serious problems doing so.  I'm using fscanf, which I presume
is correct, because it is reading half of it in.

	the format that I am using is fscanf(f1,"%s %d", group, upper), but
it seems to only read in the group, pass through the loop fine and then
read the upper (the numeric component).  I want it to read both in at
once.

	I hope I've been specific enough, so if someone has an idea of
what format I should be using, please help.

Thanks in advance...

Marc
-- 
| Marc G. Fournier   (416) 250-8589  |   Haven't thought of anything  |
| Toronto, Ontario                   |     real witty to say here!    | 
| uucp:  marc@skypod.uucp            ---------  And probably...       |
| Bitnet: marc%skypod@ugw.utcs.utoronto.ca   |          never will!   | 
