#include bool configValue(const std::string& iKey) { bool result; std::cin >> result; return result; } bool coucouEveryone() { bool result; std::cin >> result; return result; } int main() { std::string aValue{"aparam"}; if (configValue(aValue)) { coucouEveryone(); } if (!configValue("")) { std::cout << "Mouhahahaha I am a villain!\n"; } int abc; return 0; }