0_0_23260515_12411.cpp:100:14: error: redefinition of 'std::ifstream cin1' ifstream cin1("/usr/share/dict/words"); ^ 0_0_23260515_12411.cpp:98:10: note: 'std::ifstream cin1' previously declared here ifstream cin1("/usr/share/dict/words"); ^