View Single Post
Author Message
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 09-03-2020 , 09:01   Using fgets/parse for files with different formats
Reply With Quote #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.
__________________
MaNaReaver is offline