🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2276

quotes in sscanf() ????????????

#2276
From: Dave Duling
Date: Thu, 14 Mar 1996 02:25
17 lines
1077 bytes
Hi.  I need to read in ASCII files of the for:

#.##,"string with , commas and spaces ", etc....

so the delimiter is a comma, the string is bound by quotes and contains both 
commas and spaces (but no other quotes).  So I've played around endlessly with
this but have not found the answer.  I could write a special function but it 
would be more eloquent with a standard IO call to sscanf()....

Thanks for any help, Dave Duling@niehs.nih.gov

------------------------------------------
Dave Duling, scientific programmer

email.	duling@niehs.nih.gov
WWW.	//alfred.niehs.nih.gov/LMB
Technical Details
Message-ID: <4i8036$46d@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: duling@niehs.nih.gov (Dave Duling)
Newsgroups: comp.lang.c.moderated
Subject: quotes in sscanf() ????????????
Followup-To: comp.lang.c.moderated
Date: 13 Mar 1996 20:25:42 -0600
Organization: NIEHS
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4i8036$46d@solutions.solon.com>
Reply-To: duling@niehs.nih.gov
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: News Xpress Version 1.0 Beta #3