Where/how to get the “getline” function if it is missing from stdio.h?
getline is a POSIX function, and Windows isn’t POSIX, so it doesn’t have some POSIX C functions available. You’ll need to roll your own. Or use one that has already been written.