[GNHLUG] Silly C/C++ question...

bruce.labitt at autoliv.com bruce.labitt at autoliv.com
Mon Dec 1 16:13:47 EST 2008


>On Mon, Dec 1, 2008 at 3:30 PM,  <bruce.labitt at autoliv.com> wrote:
>> I am sure I will kick myself when I find out the answer, but...
>>  line 2: four doubles separated by commas
>>  line 3: \n
>* * * STUFF DELETED
>> fscanf(fp, "%d%d%d%d", &fstart1, &fend1, &M1, &dt1);     // get
>fstart,
>> fend, number of doppler slices & dt
>
>  Where's the commas getting cleared?
>
>--
>-- Thomas
>
>
It would appear that is the problem, hmm, I left my K&R at home.  Do you
have a link to a K&R clone or a reference to the string command that would
be useful?  It looks like strtok would work, if I can figure it out...

Jeesh, I'm liking python more and more...

Bruce


******************************
Neither the footer nor anything else in this E-mail is intended to or constitutes an <br>electronic signature and/or legally binding agreement in the absence of an <br>express statement or Autoliv policy and/or procedure to the contrary.<br>This E-mail and any attachments hereto are Autoliv property and may contain legally <br>privileged, confidential and/or proprietary information.<br>The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way <br>disseminating any material contained within this E-mail without prior written <br>permission from the author. If you receive this E-mail in error, please <br>immediately notify the author and delete this E-mail.  Autoliv disclaims all <br>responsibility and liability for the consequences of any person who fails to <br>abide by the terms herein. <br>
******************************



More information about the gnhlug-discuss mailing list