Line 8: Where do you think a NULL is stored? There is no NULL in your initialization list at line 19. C++ does not automatically provide a NULL at the end of your list. You're going to index through random memory until your program crashes or you find a random word containing 0.
Line 18: main must be declared to return an int.
PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/