Contact: aviboots(AT)netvision.net.il
39,973 questions
51,917 answers
573 users
#include <iostream> #include <set> int main() { std::set<char> st = {'a', 'b', 'c', 'd', 'e', 'f', 'g'}; if (st.find('h') == st.end()) { std::cout << "Not Found"; } else { std::cout << "Found"; } } /* run: Not Found */