One more thing: you're using the Word_Complete variable uninitialized.
Turn on warnings in your compiler (-Wall if you're using gcc/g++), it will notify you about it.