Welcome! Yes I agree that the steps one has to take in extracting information from a file are quite labourous in C. I think it's partly because C is a "low-level language" which provides lots of control but at the cost of more complex code. I'm sure there are libraries streamlining this process. Though I want to explain the steps from the ground up. For quick setup and simple file I/O I'd suggest considering languages like Python.
But if your strings contain a comma?
some of the things you have to do to extract file information in C are so janky lol. Thanks so much for the tutorial!
Welcome! Yes I agree that the steps one has to take in extracting information from a file are quite labourous in C. I think it's partly because C is a "low-level language" which provides lots of control but at the cost of more complex code.
I'm sure there are libraries streamlining this process. Though I want to explain the steps from the ground up. For quick setup and simple file I/O I'd suggest considering languages like Python.