forked from jaildesigner-jailgames/jaildoctors_dilemma
Nou engine de notificacions
This commit is contained in:
@@ -518,4 +518,10 @@ void printWithDots(const std::string &text1, const std::string &text2, const std
|
||||
std::cout << text2;
|
||||
|
||||
std::cout << text3 << std::endl;
|
||||
}
|
||||
|
||||
// Comprueba si una vector contiene una cadena
|
||||
bool stringInVector(const std::vector<std::string> &vec, const std::string &str)
|
||||
{
|
||||
return std::find(vec.begin(), vec.end(), str) != vec.end();
|
||||
}
|
||||
Reference in New Issue
Block a user