what is the difference between fread() and fgets()?
nagaa
0
Newbie Poster
Recommended Answers
Jump to Postfgets reads a single line of characters, but fread reads a block of unidentified objects. fgets uses '\n' as a delimiter, but fread doesn't inspect any of the objects so it relies on a limit of the number of objects. If you're using fread to read string data, the only …
All 3 Replies
Radical Edward
301
Posting Pro
jephthah
1,888
Posting Maven
molu mammen
-1
Newbie Poster
mvmalderen
commented:
Congratulations, you've ressurected a more than one year old thread + posted some rubbish without code tags!
-1
yellowSnow
commented:
For bumping old threads! Man, are people just getting more stupid?
+0
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.