Use string words [] = {"blue","red","green","yellow","white","black","pink","orange","purple","brown" }; instead or you could use a vector for less hardcoded programming.
1) You spelled "length" wrong.
2) The random code as in random_shuffle()? It works, all it does is rearrange where the elements are placed. I would think this is slower than using rand but I honestly don't know.
3) If you use random_shuffle(), just access the first word of the array via words[0]. If your using rand, then you should be able to place the random function inside of the brackets operator and access a random element like that.