#pragma once #include #include static char asciitolower(char in) { if (in <= 'Z' && in >= 'A') {return in - ('Z' - 'z');} return in; } static void toLower(std::string& str) { std::transform(str.begin(), str.end(), str.begin(), asciitolower); }