hi, im outputting doubles to a file so i can read them later for processing
here's thr output i get:Code:double sentpacktime=0.0; double recvpacktime=0.0; printf("\nScanning: %s\n",fileOutBuf); sscanf(fileOutBuf,"%d %f %f %d", &recvpackid, &sentpacktime, &recvpacktime, &packSize); printf("%d %f %f %d\n\n", recvpackid, sentpacktime, recvpacktime, packSize);
why are the doubles not set properly? thanksCode:Scanning: 14 1151496935.061920 1151496935.062168 1500 14 0.000000 0.000000 1500