|
From: | Thomas D. Dean |
Subject: | Re: Import large field-delimited file with strings and numbers |
Date: | Sat, 06 Sep 2014 09:18:26 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 09/06/14 08:50, Joao Rodrigues wrote:
To answer Francesco's comment, fscanf allows for size specification without loop, but I don't know how to write the template indicating that commas (or something else) is a separator. Furthermore, even if the separator is whitespace as output I got a concatenated string instead of multiple fields...
Try putting the comma in the format, like "%s,%d,%d" Tom Dean
[Prev in Thread] | Current Thread | [Next in Thread] |