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

Gregory Smith gresmi at gmail.com
Mon Dec 1 16:10:13 EST 2008


%f instead of %d?

On Mon, Dec 1, 2008 at 3:51 PM, Thomas Charron <twaffle at gmail.com> wrote:
> 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
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>


More information about the gnhlug-discuss mailing list