Nice!
Type: Posts; User: std10093
Nice!
Do what the other guy said. In main include the word.h file.
Line 6 on the first post, you have
#include "Word.c"
Change it to this
You mean how you call it in main?
You have
insert(c,root,curr);
Change it to this
insert(c, root, curr, MAX_WRD_LENGTH);
You are welcome.
void insert(char c,letter_p root,char curr[MAX_WRD_LENGTH], int length)
{
int length = strlen(curr); //THIS IS WHERE I GET STUCK!!!! it tells me "implicit conversion...
Pass the length of the array as a third parameter!!