Got rid of some useless functions and commented all the code

This commit is contained in:
Ricardo
2022-05-30 19:52:15 +00:00
parent 8a1ae2ca1a
commit 90a67543f0
4 changed files with 50 additions and 56 deletions

View File

@@ -6,13 +6,12 @@
//Function declarations
int ask_file(); // It has no flags, it just prompts for filename
int get_file(char *fileName); // Gets the filename passed on has an argument
int invert_file(void); // Invert the file stored in the variable info.filename
int ask_file(); // It has no flags, it just prompts for filename
int invert_file(void); // Invert the file stored in the variable info.filename
//This are general parameters for the program
struct parameters {
struct parameters { //This are general parameters for the program
char filename[100]; // Filename where the text is
FILE *fd; // File descriptor for the text file
@@ -21,6 +20,6 @@ struct parameters {
char help[]; // Help menu to be printed on screen
};
struct parameters info;
struct parameters info; // Declare struct info of type parameters
#endif