Allright, remove your initialization of your hangman struct from your header file. Then initialize your struct in your main file, aka place 'hangman hang' inside your main.cpp file. That will take all your problems away.