diff --git a/file_helpers.h b/file_helpers.h new file mode 100644 index 0000000..5ceaa3d --- /dev/null +++ b/file_helpers.h @@ -0,0 +1,11 @@ + + +/* Takes a string that represents a filename, and converts the contents +of the file into a string */ +char* file_to_string(char* filename); + + + + +/*Finds the number of new-line characters in the given file */ +int num_of_lines(char* filename);