Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Using C to convert excel spreadsheet into mysql Date: Sun, 11 Dec 2016 12:32:39 -0800 Organization: None to speak of Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="d0d5c56ca22fa2e528cedb366e6a556f"; logging-data="4039"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0bDFrAnySzkld+hlHLP5k" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:OOGX5IOIkd5+0eOe3azrttgZWtY= sha1:WFr+fLJ3o6k1iec42IP4ky6Zavo= Xref: csiph.com comp.lang.c:98881 Richard Heathfield writes: > On 11/12/16 11:19, Alla _ wrote: [...] >> Will it more reasonable to do the following: > > Stop and think. What is your goal here? To write a fully robust, > generic, commercial-quality program that will be used over and over > again in all kinds of environments? Or is it to learn a little more > about C? If the latter, I suggest you don't worry about Keith's red > herring, and focus instead on learning how to do basic parsing, which is > what this exercise seems to be about. I agree. Keep the issue in the back of your mind, but for this exercise I suggest you get something working first, even if it doesn't handle unreasonably long input lines. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"