Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

sscanf() proplem (horace)

$
0
0
PIC24FJ1024GA610 using XC16 V1.36b the following code char tok1[]="41.645746"; float mins; int result=sscanf(tok1, "%f", &mins); printf("LAT %s result %d %f\n", tok1, result, (double) mins); givesLAT 41.645746 result 1 4164.574219..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>