Skip to content
Snippets Groups Projects

Final commit

7 files
+ 503
116
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 5
5
@@ -9,7 +9,7 @@
* @param command The command entered by the user
* @param tree The tree currently being operated on
*/
Tree* handleString(char command[], Tree *tree);
Tree *handleString(char command[], Tree *tree);
/**
* Handles insertion of data into a tree
@@ -19,7 +19,7 @@ Tree* handleString(char command[], Tree *tree);
* @param tree The tree currently being operated on
* @return The tree passed as the input tree
*/
Tree* insert(char* command, Tree* tree);
Tree *insert(char *command, Tree *tree);
/**
* Handles erasing a single node from a tree
*
@@ -28,7 +28,7 @@ Tree* insert(char* command, Tree* tree);
* @param tree The tree currently being operated on
* @return The tree passed as the input tree
*/
void erase(char* command, Tree* tree);
void erase(char *command, Tree *tree);
/**
* Checks if an entry exists in the tree. If it does, it prints "y\n". If it doesn't, it prints "n\n".
*
@@ -37,8 +37,8 @@ void erase(char* command, Tree* tree);
* @param tree The tree currently being operated on
* @return The tree passed as the input tree
*/
void check(char* command, Tree* tree);
void check(char *command, Tree *tree);
#define C_IMPLEMENTATION_MAIN_H
#endif //C_IMPLEMENTATION_MAIN_H
#endif // C_IMPLEMENTATION_MAIN_H
Loading