#include #include using namespace std; bool ures(vector tarolo); main() { vector szavak; szavak.push_back("szilva"); szavak.push_back("körte"); szavak.push_back("barack"); ures(szavak); cout << "Méret: " << szavak.size() << endl; szavak.clear(); ures(szavak); } bool ures(vector tarolo) { if(tarolo.empty()) cout << "Üres" << endl; else cout << "Van adat" << endl; }