Thread
:
Using fgets/parse for files with different formats
View Single Post
Author
Message
MaNaReaver
Member
Join Date: Apr 2020
Location: India
09-03-2020 , 09:01 Using fgets/parse for files with different formats
#
1
Hey AM,
I had two sorts of files with formats: [Mapname] and [Mapname] [Info]. I was trying to use fgets for this, and wanted to know whether fgets reads just a single line at a time, or can it skip to another line (as fgets detects a newline character) while reading the file? Should I use parse instead, and will parse read only one line at a time?
Best regards,
MaNaReaver.
__________________
Steam Profile
|
Crimson Demons
|
Discord Server
MaNaReaver
View Public Profile
Send a private message to MaNaReaver
Visit MaNaReaver's homepage!
Find More Posts by MaNaReaver