File Functions
file_func provides file handling functionality.
Functions open_file() returns a file handler to a given file name. close_file() closes a file associated with a given file handler. getline() parses a line from an input text file, and returns two strings: The first string contains all the characters before a given delimiter string, and the second string contains all the characters after the delimiter. parse_text_line() uses getline(), but only returns the first string with the characters before a given delimiter. |
|