if(std::all_of(std::begin(actualWord),std::end(actualWord),isupper))//if entire original word was uppercase//fixme why no std::toupper
if(std::all_of(std::begin(actualWord),std::end(actualWord),isupper)&&actualWord!="I")//if entire original word was uppercase (except for the word "I")//fixme why no std::toupper
std::transform(std::begin(pig),std::end(pig),std::begin(pig),toupper);//make entire translated word uppercase
else
{
@@ -315,14 +315,6 @@ namespace anslatortray
newWords += {" "};
}
*/
/* not worth the hassle of setting up a range
for (auto word : std::istream_iterator<std::string>{wordStream})