Line 12: You are calling constructor of DictWiord, which calls setWord member function. It sets inputWord equal to enteredWord.
Line 13: YOu are calling translatedWord member function, which returns tranWord. However that variable was never set, so it returns an empty string.
Make setWord function call setTranslate to achieve something.