My assigning still is not working properly, allow me to post some more code;
Right here I want to create an array of 1000000 nodes called table.
const int size=1000000;
} table [size];
This segment of code is supposed to read in characters from a file pointer and first convert them to upper case, if applicable. Then pass the upper case string through a hash function which returns an int (the location of the struct in the array), and then assign that upper case word to string variable inside my struct. Just a basic word counter program here.
if (c >='a' && c<='z')
} while ((c>='A' && c<='Z') || c==39);
if (table[hash].w == "")
} while (c!=EOF);