[seqfan] Re: Interface to C

Charles Greathouse charles.greathouse at case.edu
Tue Jul 10 17:40:06 CEST 2012


I have a thin Perl wrapper which, when asked for data, goes to
stripped.gz or names.gz if possible rather than downloading from the
web. It also checks if the files are out of date (> 6 months, say) and
re-downloads them if needed.

It should not be very different with C, mutatis mutandis.

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Tue, Jul 10, 2012 at 11:15 AM, T. D. Noe <noe at sspectra.com> wrote:
> If you plan to access the database a lot, it makes more sense to download
> key files http://oeis.org/stripped.gz and http://oeis.org/names.gz and
> access them from your computer, which is much faster than using the
> Internet.
>
> Best regards,
>
> Tony
>
>
> At 8:05 AM -0700 7/10/12, Ron Hardin wrote:
>>use wget, spin off with popen()
>>
>> rhhardin at mindspring.com
>>rhhardin at att.net (either)
>>
>>
>>
>>----- Original Message ----
>>> From: (((1/f))) <fadebox at gmail.com>
>>> To: Sequence Fanatics Discussion list <seqfan at list.seqfan.eu>
>>> Sent: Tue, July 10, 2012 8:26:11 AM
>>> Subject: [seqfan]  Interface to C
>>>
>>> Hello Seqfans, I was wondering if one can query the OEIS  database
>>> programmatically through C. I am not a very heavy duty  programmer
>>> so I can only guess that I might use something like libhttp or  cURL?
>>>
>>> If someone knows of a simple method, please let me  know.
>>>
>>> thanks!
>>> -  fadesingh



More information about the SeqFan mailing list