I can’t figure out the difference in < String > type objects and char arrays in C, during filing.
What type of buffer should i use to read data from a given text file?
Please Help!
Hi Leena,
Thank you for reaching out! We are happy to hear from you.
I believe the Strings lesson answers your first question! As for what buffer to use when reading from a file, it really depends on your implementation. If you simply want to read a file as text then use a character array!
If you have any further queries, please let us know.