Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

scan with unsigned long long

$
0
0

Hello,

 

I want to use the Scan function with an unsigned long long, but i don't found the format modifier to used to this type.

With sscanf, it's OK :

 

	char rdBuf[1024];
	unsigned long long frequency=0;

	sprintf(rdBuf, "33500000000000");
	
	sscanf(rdBuf, "%llu", &frequency);

 

Thanks

Vincent


Viewing all articles
Browse latest Browse all 5339

Trending Articles



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