How do u scan a floating number from a file?
ChrisXxX
0
Newbie Poster
Recommended Answers
Jump to Postfscanf(FilePointer, "%f", &variableName);
All the scanf() family of functions are subject to quitting the first time they receive data that they aren't set up to handle. It's important to check their return value to see if it actually worked or not, (it returns the number of items …
All 2 Replies
Adak
419
Nearly a Posting Virtuoso
jephthah
commented:
well said
+6
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.