Raised This Month: $ Target: $400
 0% 

read file small code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 01-06-2020 , 05:52   Re: read file small code
Reply With Quote #2

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.

Last edited by redivcram; 01-06-2020 at 05:54.
redivcram is offline
 



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