Raised This Month: $ Target: $400
 0% 

read file small code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 01-06-2020 , 06:00   Re: read file small code
Reply With Quote #3

Quote:
Originally Posted by redivcram View Post
Code:
feof
returns whether the end of the file has been reached.
Code:
fgets
does the same by indexing each line every time its called (from which feof can determine) in the file and outputs its content by reference.
so which will be better? fgets?
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode